Skip to main content
POST
Retry a GitLab trigger's webhook

Restrictions

Usage

  • Use this when a trigger reports hook_status error or its hook was deleted on the GitLab side: the call re-registers the webhook with the trigger’s stored token and secret.
  • The caller must be able to manage the rule itself — its owner, or a member of the rule’s team — or the call returns 403.
  • The operation is audit-logged.
  • pending means the request reached GitLab but the hook is not confirmed yet; deleted means the trigger no longer exists on GitLab, so re-save the trigger instead.

Authorizations

app_key
string
query
required

APP Key created in the Flashduty console under My → APP Key. Send it as the app_key query parameter or in the Fd-App-Key request header. Its effective access is the intersection of the key's permission scope and the creator's current role permissions. Keep it secret.

Body

application/json
rule_id
string
required

Automation rule that owns the trigger.

trigger_id
string
required

GitLab trigger whose webhook should be re-created.

Response

Success

Standard response envelope used by every Flashduty public API. On success data contains the endpoint-specific payload and error is absent. On failure error is present and data is absent. request_id is always present and is also mirrored in the Flashcat-Request-Id response header.

request_id
string
required

Unique ID for this request. Mirrored in the Flashcat-Request-Id header. Include it when reporting issues.

Example:

"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"

error
object

Error payload inside the response envelope. Present only on non-2xx responses.

data
object

Outcome of re-creating a trigger's GitLab webhook.