Update Webhook Integration
Modify an existing webhook integration’s URL, secret, headers, or status.Authentication & Scope
This endpoint requires a Personal Access Token with themanage-integrations ability.
Request
The ID of the form containing the webhook.
The ID of the webhook integration to update.
Must be set to
"webhook".The status of the webhook. Allowed values:
"active", "inactive".Configuration object containing webhook details. All fields are optional.
Update the conditional logic for webhook triggering.
Response
200 OK – Webhook updated successfully.
403 Forbidden – The token does not have manage-integrations ability or insufficient form permissions.
404 Not Found – Form or integration not found.
422 Unprocessable Entity – Validation error.
Security
Secret Rotation
When updating thewebhook_secret, the new secret will be used for all future webhook requests. Existing webhook attempts with the old secret will fail validation on the receiver’s end.
If you need to rotate your secret, consider implementing a grace period on your receiving endpoint to accept both old and new secrets during the transition.
Blocked Headers
For security reasons, the following headers cannot be customized inwebhook_headers:
AuthorizationX-Webhook-SignatureContent-TypeContent-LengthHostCookieX-CSRF-TokenX-Forwarded-ForX-Forwarded-ProtoX-Real-IP
Authorizations
Personal Access Token
Path Parameters
The ID of the form.
The ID of the integration.
Body
application/json