Skip to content

Webhook Documentation

Trigger the current canvas workflow via Webhook and track executions in Run History.

Request Body

Webhook variables payload

NameTypeRequiredDescription
variablesobjectNoWebhook variables as key-value pairs

Request Body Example

json
{}

File Upload

If you need to send file variables, upload files via /openapi/files/upload to get fileKey (requires API Key), then pass fileKey or fileKey[] under variables in the webhook body.

View file upload API docs

Error Codes

Common error codes for webhook and API integrations.

Error CodeHTTP StatusMessageDescription
CANVAS_NOT_FOUND404Canvas not foundAssociated canvas cannot be found.
INSUFFICIENT_CREDITS402Insufficient creditsInsufficient credits for this operation.
INVALID_REQUEST_BODY400Invalid request bodyRequest body format is invalid.
WEBHOOK_DISABLED403Webhook disabledWebhook is disabled and cannot be triggered.
WEBHOOK_NOT_FOUND404Webhook not foundWebhook does not exist or has been deleted.
WEBHOOK_RATE_LIMITED429Webhook rate limitedRequest rate exceeds the limit.