Register a webhook
string
required
Your HTTPS endpoint URL. Must return a
2xx status within 10 seconds.array
List of event types to subscribe to. Omit to subscribe to all events.
string
Optional human-readable label for this webhook.
Request
Response
Verify webhook signatures
Every webhook request includes anX-Toktra-Signature header containing an HMAC-SHA256 signature of the raw request body, signed with your signing_secret.
Always verify this signature before processing the payload.
Event payload format
All webhook payloads share a common envelope:Event types
Retry behavior
If your endpoint returns a non-2xx status or times out, Toktra retries with exponential backoff:
After 5 failed attempts the delivery is marked as failed. You can manually retry failed deliveries from the dashboard or via the API.
View delivery logs
Test a webhook
Send a test event to verify your endpoint is reachable:ping event to your endpoint: