v1
latestOpenAPI 3.1.02026-07-1325128129.5 KBwebhooks
Create Webhook
Create a new webhook for the authenticated organization to receive event notifications
post/webhooks
Headers
Authorization-Signaturestring required
Authorization header format: 'APIKey=<api_key>,signature=<signature>,timestamp=<unix_timestamp>'
Request body
Example request
{
"subscription_events": [
"ORDER_CREATED",
"ORDER_COMPLETED"
],
"url": "https://example.com/webhook"
}Response
Webhook created successfully
Example response
{
"active": true,
"id": "cuidjkhg3e289y74u5t6v",
"subscription_events": [
"ORDER_CREATED",
"ORDER_COMPLETED"
],
"url": "https://example.com/webhook",
"webhook_secret": "whsec_xxxxx"
}