Webhooks API
Webhooks push every new submission to a URL you control the moment it arrives. This page covers managing webhooks over the API; the payload you receive is documented under Notifications → Webhooks.
Requires a bearer token; the form must be in the token's workspace. A form can have up to 5 webhooks.
The webhook object
{
"id": 77,
"form_id": 42,
"url": "https://hooks.example.com/rapidform",
"active": true,
"created_at": "2026-09-04T10:00:00+00:00"
}
| Field | Type | Description |
|---|---|---|
id |
integer | Webhook ID. Use it to delete the webhook. |
form_id |
integer | The form it fires for. |
url |
string | Endpoint that receives a POST for every new submission. |
active |
boolean | Inactive webhooks are kept but not called. |
signed |
boolean | Whether deliveries carry an X-RapidForm-Signature header. |
secret |
string | The signing secret. Returned only in the response that creates the webhook. |
created_at |
ISO 8601 datetime | When it was added. |
List webhooks
GET /forms/{form}/webhooks
Returns {"data": [ …webhook objects… ]} for the form, including webhooks added in the dashboard.
curl https://rapidform.com/api/v1/forms/42/webhooks \
-H "Authorization: Bearer $RAPIDFORM_API_KEY"
Add a webhook
POST /forms/{form}/webhooks
| Body parameter | Type | Required | Description |
|---|---|---|---|
url |
string, max 2048 | yes | An http:// or https:// URL. Use HTTPS in production. |
active |
boolean | no, default true |
Set false to register the webhook without enabling it. |
curl -X POST https://rapidform.com/api/v1/forms/42/webhooks \
-H "Authorization: Bearer $RAPIDFORM_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "url": "https://hooks.example.com/rapidform" }'
Responds 201 Created with the webhook object.
Errors: 422 with errors.url for an invalid URL, or 422 with code: webhook_limit_reached when the form already has 5 webhooks.
Remove a webhook
DELETE /forms/{form}/webhooks/{webhook}
Stops deliveries immediately. Responds 204 No Content, or 404 if the webhook does not belong to that form.
curl -X DELETE https://rapidform.com/api/v1/forms/42/webhooks/77 \
-H "Authorization: Bearer $RAPIDFORM_API_KEY"
What your endpoint receives
For each submission RapidForm sends one POST per active webhook with a JSON body containing the event (submission.created), the form (id, name, slug) and the submission: id, data (values keyed by field label), answers (a list with each field's stable slug, label, type and value), metadata and submitted_at. See the full example under Notifications → Webhooks.
Requests time out after 10 seconds, so respond with a 2xx quickly and process the payload asynchronously. A connection error, a 408, a 429 or a 5xx is retried up to 5 times, after 1 minute, 5 minutes, 30 minutes, 2 hours and 6 hours. Any other 4xx stops delivery of that submission. Because a delivery can repeat, use submission.id to ignore duplicates.
Verifying the signature
Webhooks created over the API or MCP are signed with their secret:
X-RapidForm-Signature: t=1788256800,v1=5257a869e7ecebeda32affa62cdca3fa51cad7e77a0e56ff536d0ce8e108d8bd
Compute HMAC-SHA256(secret, "<t>.<raw request body>") as hex, compare it to v1 with a constant-time check, and reject timestamps more than 5 minutes old.
[$t, $v1] = sscanf($header, 't=%d,v1=%s');
$valid = hash_equals(hash_hmac('sha256', $t.'.'.$rawBody, $secret), $v1) && abs(time() - $t) <= 300;
A typical pattern is to create the form and its webhook in one go:
FORM_ID=$(curl -s -X POST https://rapidform.com/api/v1/forms \
-H "Authorization: Bearer $RAPIDFORM_API_KEY" -H "Content-Type: application/json" \
-d '{ "name": "Quote request", "status": "published", "fields": [
{ "type": "email", "label": "Email", "required": true },
{ "type": "textarea", "label": "What do you need?" } ] }' | jq -r '.data.id')
curl -s -X POST "https://rapidform.com/api/v1/forms/$FORM_ID/webhooks" \
-H "Authorization: Bearer $RAPIDFORM_API_KEY" -H "Content-Type: application/json" \
-d '{ "url": "https://hooks.example.com/quotes" }'