API referenceWebhook endpoints
Create a webhook endpoint
The response contains the HMAC signing secret, shown exactly once. Store it before you close the window. The URL must be a public HTTPS address on port 443; private and internal addresses are rejected.
Authorization
bearerAuth AuthorizationBearer <token>
An API key from Settings → Integrations → API & Webhook.
In: header
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
curl -X POST "https://example.com/webhook-endpoints" \ -H "Content-Type: application/json" \ -d '{ "url": "http://example.com", "events": [ "document.sent" ] }'{ "ok": true, "data": { "id": "string", "url": "string", "events": [ "document.sent" ], "enabled": true, "description": "string", "createdAt": "string", "secret": "string" }}