Skip to main content
POST
Send Test Webhook
Sends a test event to your webhook endpoint, signed with your webhook secret exactly like a live delivery. Each test payload is built by the same code that builds live webhooks, so a test that passes means your parser handles the real event. Tests are marked with the X-Tuco-Test: true header and "testMode": true in the body. They appear in the delivery log and never count as failures on your webhook.

Authentication

Path parameters

string
required
Webhook ID.

Body

Send no body to test every event the webhook subscribes to (one request per event).
string
Send only this event. Any event below, including heartbeat, even if the webhook is not subscribed to it.
string
Payload variant for the event. Defaults to the first variant listed for that event.

Response

boolean
true when every test got a 2xx.
number
Your endpoint’s HTTP status for the first failing test, or the last test.
string
Status text, or Timeout (10s) / the network error.
number
Milliseconds for that request.
string
First 500 characters of your endpoint’s last response.
array
One entry per test: event, variant, ok, status, statusText, latency.

Examples