Enable webhook
Turns a disabled webhook on again: disabled becomes false. The other settings of the webhook do not change, so you do not have to send the full webhook as with Update webhook.
- A webhook that was
activeorfailingbefore it was disabled becomesactive:consecutiveFailedAttemptsbecomes0andfailingSincebecomesnull. - A webhook that was paused stays
paused. Call Resume webhook to test the payload URL and resume it.
Enable does not test the payload URL and does not change lastSuccessAt. The events that occurred while the webhook was disabled are not sent later. A call on a webhook that is not disabled answers 200 too. The service records the change in the Activity Logs of the organisation.
Authorizations
AuthorizationstringheaderrequiredYour API key with the prefix
ApiKey:ApiKey <your-api-key>. Get an API key.Scope:
webhooks:update
Path parameters
webhookId stringrequiredThe
idof the webhook, from Create webhook or List all webhooks.Example:
"68a1f2c3d4e5f6a7b8c9d0e1"
Response
The webhook after the change, with status active, or paused for a webhook that was paused.
webhookobjectThe webhook after the change, with
statusactive, orpausedfor a webhook that was paused.