API reference · Webhooks
Test webhook
Fires a synthetic event down the real delivery path.
- Authentication
- Bearer token
- Retries
- Idempotency-Key
- Body
- application/json
- Version
- 2026-09-03
Returns as soon as the delivery is queued - 202-shaped behaviour with a 200, because the result is a row the caller then polls for rather than something this request can wait on. Posting inline would be faster and would skip the queue, the retry classification and the failure accounting, so a test could pass on an endpoint every real delivery fails against.
The payload carries "test": true at the top level. A test event that a receiver cannot distinguish from a real one is a test that creates a real record in somebody's CRM.
Path parameters
webhook_idstring (uuid)required
Headers
Idempotency-KeystringA unique key of your choosing, so this request can be retried safely. The first request with a given key executes; every replay returns that first response unchanged, with
Idempotent-Replay: trueset.Generate one key per action, not per session - reusing a key with a different body is refused with 422 rather than silently replaying the wrong answer. Keys are remembered for 24 hours. A request that failed releases its key, so a retry after fixing the payload runs normally.
Up to 255 characters
Request body
application/json · required
WebhookTestRequest
eventstringDefault: conversation.started
Responses
- 200OKapplication/json
WebhookTestResponse
delivery_idstring (uuid)requiredokbooleanrequiredduration_msintegerDefault: 0
errorstring | nullstatus_codeinteger | null
5 response headers
- RateLimit-Limit
Requests permitted in the current window.
- RateLimit-Remaining
Requests left in the current window. Back off before it reaches 0.
- RateLimit-Reset
Seconds until the current window resets.
- X-API-Version
The dated version of the API contract that served this response, e.g.
2026-09-03. Pin against it; it changes only when a response shape changes incompatibly.- X-Request-ID
Quote this in a support request to identify the call.
- 422Validation error
The shared error envelope, served as
application/problem+jsonwitherror.codeset to validation_error. Its details name each field that failed and why.
Example request
curl -X POST "https://api.integrable.cloud/api/webhooks/$WEBHOOK_ID/test" \
-H "Authorization: Bearer $INTEGRABLE_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"event": "conversation.started"
}'Set INTEGRABLE_API_KEY and the path variables first. The same call from the TypeScript or Python SDK takes the same fields.
Example response
{
"delivery_id": "01a0652b-3713-7ea1-a6c9-2e895389ec34",
"duration_ms": 0,
"error": "string",
"ok": true,
"status_code": 0
}Generated from the schema above — the shape is exact, the values are placeholders.
Errors
Failures use one envelope on every endpoint, described in Retries, versioning and limits. The codes you are most likely to meet here:
validation_error· 422 — The payload was well-formed JSON but failed schema validation.unauthenticated· 401 — The request carried no API key, or one the API could not verify.forbidden· 403 — The key is valid, but it is not allowed to do this — either the scope is missing or the resource belongs to another workspace.idempotency_key_reused· 422 — This `Idempotency-Key` was used before, for a request with a different body.rate_limited· 429 — Too many requests in the current window. The limit is per workspace, and some endpoints add a per-bot limit on top.
More Webhooks endpoints
- get/api/webhooksList webhooks
- post/api/webhooksCreate webhook
- get/api/webhooks/deliveriesList all deliveries
- get/api/webhooks/deliveries/{delivery_id}Get delivery
- post/api/webhooks/deliveries/{delivery_id}/replayReplay delivery
- get/api/webhooks/eventsList events
- get/api/webhooks/{webhook_id}Get webhook
- patch/api/webhooks/{webhook_id}Update webhook
- delete/api/webhooks/{webhook_id}Delete webhook
- post/api/webhooks/{webhook_id}/rotate-secretRotate secret
Something here wrong or missing? Tell us — the documentation and the API are maintained by the same person, so a correction is a fix rather than a ticket.