Skip to main content

Complete Workflow Callback

POST 

/api/automation/callbacks/:wait/complete

Resume a run that is paused on a Wait for callback step, on the step's success 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 (all optional)

  • result (object) - data passed to the next steps; when the step defines a result schema (JSON Schema) it must match, otherwise 422 and the wait stays open so you can call again. The schema check reads the JSON exactly as sent: {} is an object and [] is an array, so an empty array does not satisfy {"type": "object"}.
  • summary (string, max 500) - shown as the run's outcome.
  • url (http/https link, max 2048).

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