Webhooks & delivery
Receive signed task notifications at an endpoint you configure in your dashboard, or poll for results through the API.
On this page
Current availabilityContract for approved integrationsVerify deliveryAcknowledge and reconcileCurrent availability
Open Dashboard → Webhooks, add a public HTTPS endpoint and save the signing secret on your server. Include callback: {endpoint_id: "YOUR_ENDPOINT_ID"} in a task request. Endpoint IDs belong to your account. Removing an endpoint stops future delivery attempts. Polling remains available without configuration.
Contract for approved integrations
Use callback: {endpoint_id} for endpoints saved in your dashboard. Existing administrator-approved integrations can still use callback: {url, secret}. URLs must be public HTTPS without credentials or fragments. Events contain id, type, task_id, status and outputs; task.succeeded and task.failed are completion events.
Verify delivery
X-Webhook-Id is the event ID. X-Webhook-Timestamp contains Unix seconds. X-Webhook-Signature is the hex HMAC-SHA256 of timestamp + "." + the exact raw body, using your callback secret. Compare in constant time, reject timestamps outside a five-minute window, and deduplicate event IDs. Never reserialize JSON before checking its signature.
Acknowledge and reconcile
Return 2xx promptly after durable receipt. Delivery can be repeated, retried up to eight attempts, and can fail independently of generation. GET /v1/tasks/{id}/events lists delivery records. Query the task if notifications are missing; do not regenerate because a webhook failed.