This public URL uses a deprecated compatibility host outside the api-service host. It remains supported for now, but will soon move under https://api.eachlabs.ai. Keep integrations configurable and switch to the api-service URL once it is published.
Overview
Provide a webhook_url when triggering a workflow to receive an HTTP POST with execution results when it completes (successfully or with an error).
Setting Up
Include webhook_url in your trigger request:
Webhook Request
- Method:
POST
- Content-Type:
application/json
- Body: Same structure as Get Execution response
Payload Examples
Successful Execution
Failed Execution
Bulk Trigger Webhook
When triggered via bulk-trigger, the payload includes bulk_id:
Each execution in a bulk operation sends its own webhook notification.
Handler Examples
Retry Behavior
Failed webhook deliveries are automatically retried with exponential backoff. Your endpoint should return a 200 OK to acknowledge receipt.
Best Practices
- Return
200 OK immediately, process data asynchronously
- Implement idempotency using
execution_id as a deduplication key
- Handle both
completed and failed statuses
- For bulk operations, correlate webhooks using
bulk_id