API ReferenceWebhooks
Create a webhook endpoint
Events are signed with HMAC-SHA256. Verify the X-Webhook-Signature header (v1=<hex>) against "{X-Webhook-Timestamp}.{raw body}" using the returned secret.
Authorization
apiKey AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/v1/webhook-endpoints" \ -H "Content-Type: application/json" \ -d '{ "url": "http://example.com" }'{ "endpoint": { "id": "string", "url": "string", "events": [ "string" ], "active": true, "createdAt": "string", "secret": "string" }}