Browse and search developers
/
Webhooks
Update a webhook
Change name, URL, events, or pause/resume it. Re-enabling clears the failure count.
On this page
PATCH
/v1/webhooks/{webhookId}Scope: webhooks:writecurl -X PATCH "https://api.formitai.com/v1/webhooks/WEBHOOK_ID" \
-H "Authorization: Bearer $FORMIT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Customer feedback",
"url": "https://example.com/hooks/formit",
"eventTypes": [
"form.submission.created"
],
"isActive": true
}'Parameters
Path
webhookIdstringRequired
Request body
namestring1–120 characters
urlstringmax 2000 characters · uri
eventTypesarray of "form.submission.created" | "form.submission.partial" | "form.published" | "form.unpublished" | "form.created" | "form.deleted"at least 1 item
isActiveboolean
Response 200
idstringRequirednamestringRequiredurlstringRequiredeventTypesarray of stringRequiredisActivebooleanRequiredsecretHintstring or nullRequiredLast characters of the signing secret.
consecutiveFailuresintegerRequireddisabledAtstring or nullRequiredISO 8601 timestamp
disabledReasonstring or nullRequiredlastTriggeredAtstring or nullRequiredISO 8601 timestamp
createdAtstringRequiredISO 8601 timestamp
updatedAtstringRequiredISO 8601 timestamp
Example response
{
"id": "item_id",
"name": "Customer feedback",
"url": "https://example.com/hooks/formit",
"eventTypes": [
"string"
],
"isActive": true,
"secretHint": "string",
"consecutiveFailures": 1,
"disabledAt": "2026-11-25T09:30:00.000Z",
"disabledReason": "string",
"lastTriggeredAt": "2026-11-25T09:30:00.000Z",
"createdAt": "2026-11-25T09:30:00.000Z",
"updatedAt": "2026-11-25T09:30:00.000Z"
}Errors
400Invalid request:validation_failedwith fielddetails, or malformed JSON.401Missing or invalid API key.403The key lacks the scope, or its creator lacks the workspace permission.404Not found in this key’s workspace.429Rate limit exceeded. Wait forRetry-Afterseconds.
Can't find what you need?