Test Webhook
Webhooks
Test Webhook
Fire a test webhook to verify your endpoint is reachable. REST endpoint in the Tuco AI iMessage API — bearer-token auth, JSON request/response, full schema and.
POST
Test Webhook
Send a real signed test webhook to your endpoint. Use this to verify your endpoint is reachable, responding with
2xx, and correctly validating the X-Tuco-Signature header.
The test payload includes data.test: true so your handler can distinguish health checks from real events.
Authentication
Path parameters
Webhook ID.
What gets sent to your endpoint
Tuco sends a realPOST to your webhook URL with:
| Header | Value |
|---|---|
Content-Type | application/json |
X-Tuco-Signature | HMAC-SHA256 signature (same as production webhooks) |
X-Tuco-Event | First event type from your subscription |
X-Tuco-Timestamp | Current ISO timestamp |
Test payload your endpoint receives
The signature is real — computed with your webhook’s secret using the same HMAC-SHA256 algorithm as production webhooks. This means your signature verification code gets tested too.
Response
Whether your endpoint responded with 2xx
Human-readable result (on success)
HTTP status code from your endpoint
Response body from your endpoint
Error message (on failure)
Error details (on failure)