v1
latestOpenAPI 3.1.22026-08-0611530152.3 KBWebhooks
Create webhook
Creates a webhook. A POST request will be made for each message in the queue to this endpoint. If the endpoint returns a HTTP status code in the 200 range the message will be acknowledged and removed from the queue, otherwise retried.
Signature Verification: When a signing_secret is configured, webhook requests will include headers for signature verification:
- webhook-id: Unique message identifier
- webhook-timestamp: Unix timestamp (seconds)
- webhook-signature: HMAC-SHA256 signature (format: v1,<base64>)
The signature is computed over {webhook-id}.{webhook-timestamp}.{body}.
Key Rotation: Multiple secrets can be specified (space-separated) for zero-downtime key rotation. When multiple secrets are configured, signatures are generated for all of them, allowing consumers to verify with any key during the transition period.
post/webhooks
Response
Webhook created successfully
Example response
{
"id": 1,
"name": "my-webhook",
"webhook_uri": "http://www.example.com/endpoint",
"queue": "push-queue",
"concurrency": 10,
"timeout": 30,
"signing_secret": "my-secret-key-123",
"vhost": "hptqevnp"
}