Skip to main content

Register an endpoint

Create a webhook endpoint by specifying a URL and the events you want to receive:

Response

The secret is only returned once at creation time. Store it securely — you need it to verify webhook signatures.

Request body

List endpoints

Update an endpoint

Delete an endpoint

Test an endpoint

Send a test event to verify your endpoint is reachable and correctly processes webhooks:

Response

Endpoint health

ModelRoute tracks delivery health per endpoint: An endpoint is automatically deactivated after 10 consecutive failures. Reactivate it by updating the endpoint:

Event filtering

By default, an endpoint receives all events. Specify an events array to filter:
Valid events: execution.started, execution.completed, execution.failed, execution.cancelled.

Best practices

Webhook URLs must use HTTPS. HTTP endpoints are rejected.
Return a 2xx status code within 30 seconds. Do heavy processing asynchronously after acknowledging receipt.
Store processed event IDs and skip duplicates. Retries may deliver the same event more than once.
Always verify the HMAC-SHA256 signature before processing. See Webhook Verification.