Create a new webhook integration for a form. Requires manage-integrations ability.
manage-integrations ability.
"webhook" for webhook integrations."active", "inactive".200 OK – Webhook created successfully.
403 Forbidden – The token does not have manage-integrations ability or insufficient form permissions.
404 Not Found – Form not found.
422 Unprocessable Entity – Validation error (e.g., invalid webhook URL, webhook_secret too short, blocked header).
webhook_secret when creating the webhook, OpnForm will sign each webhook request with an HMAC-SHA256 signature. This allows you to verify that the webhook came from OpnForm and hasn’t been tampered with.
Each webhook request will include:
X-Webhook-Signature header: Contains the signature in format sha256=HEXADECIMAL_VALUEwebhook_headers (except blocked headers)AuthorizationX-Webhook-SignatureContent-TypeContent-LengthHostCookieX-CSRF-TokenX-Forwarded-ForX-Forwarded-ProtoX-Real-IPPersonal Access Token
The ID of the form.