secret is generated automatically and returned in the response. Use this secret to verify incoming webhook payloads via HMAC-SHA256 signature in the X-Webhook-Signature header.url (required) — The HTTPS endpoint to receive eventsname (optional) — A label for this webhook (e.g. Production, Staging)events (optional) — List of event types to subscribe to. If omitted or empty, the webhook receives all events.video.completed — Fired when a video finishes renderingvideo.failed — Fired when a video render failsproject.created — Fired when a new project is createdproject.updated — Fired when a project is updatedcredit.low — Fired when credit balance drops below thresholdcurl --location --request POST 'https://api.zebracat.ai/v1/webhooks' \
--header 'X-API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"url": "http://example.com",
"name": "",
"events": []
}'{
"id": 0,
"url": "http://example.com",
"name": "string",
"secret": "string",
"events": {},
"is_active": true,
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z"
}