Send a test to a webhook endpoint
POSTs your body to the endpoint once, signed with its secret exactly as a delivery is, and says what your server answered. The test carries x-tone-test: 1 and an x-tone-event-id starting test_; your handler otherwise sees a real delivery, so use test data. Nothing is recorded: no delivery-log row, and no failure counts toward switching the endpoint off. At most 20 a minute. A live key or the dashboard only: a test key gets 403, because an endpoint receives live events too.
Requires the admin scope. A key with less gets 403 insufficient_scope.
Authorization: Bearer tone_live_… or tone_test_…. The prefix IS the environment: a test key reaches only the sandbox, and no request field bridges the two.
In: header
Path Parameters
The webhook endpoint's id.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/integrations/webhooks/string/test" \ -H "Content-Type: application/json" \ -d '{ "body": { "data": { "call": { "id": "b2e4c1d0-…", "outputs": { "order_confirmed": "confirmed" } } }, "type": "call.completed" }, "eventType": "call.completed" }'{ "data": { "delivered": true, "durationMs": 312, "error": null, "eventId": "test_5b2c1e3d-9a4f-4e6b-8c7d-1f2e3a4b5c6d", "status": 200 }}The organization-level signing secret (endpoints created before per-endpoint secrets)
🔴 Only endpoints created before per-endpoint secrets sign with this. Every newer endpoint signs with its own — read it with GET /v1/integrations/webhooks/{id}/secret, which also answers correctly for an older endpoint. Compare x-tone-signature against an HMAC-SHA256 of {timestamp}.{raw body} — the RAW body, before any JSON parsing. A live key or the dashboard only: a test key gets 403, because an endpoint receives live events too.
Update a webhook endpoint
Change the URL, the subscribed events, the conditions, the body, the headers or the credential, or disable it. Disabling stops delivery without losing the endpoint, its secret or its history. Send null for conditions, bodyTemplate, headers or auth to clear it. A live key or the dashboard only: a test key gets 403, because an endpoint receives live events too.