Skip to main content

Fail Workflow Callback

POST 

/api/automation/callbacks/:wait/fail

Resume a paused run on the Wait for callback step's error output.

Authorization

Called by your own agent or script with the token SKU issued for this runner or callback, sent as Authorization: Bearer <token> — not with a Personal Access Token or a session.

Public endpoint, called on the account's own host (the host in {{ $execution.callbackUrl }}). Authenticate with Authorization: Bearer <callback token>, where the token is the value of {{ $execution.callbackToken }} handed out by an earlier step of the run - not a Personal Access Token.

Body

  • error (required, string, max 5000) - what went wrong.

Returns 202 {"status":"accepted"}. Errors: 401 invalid callback token; 409 the wait is already completed, failed, timed out or canceled (late and duplicate callbacks are never applied); 410 the run was deleted; 413 body larger than 256 KB; 422 validation error; 429 more than 60 calls a minute for this wait.

Request​

Responses​

Accepted

Response Headers
    Content-Type