Error format

All errors return a JSON body with a detail field:
For request validation failures (status 422), detail is an array of field-level errors:

HTTP status codes


Workflow validation errors

When validating a workflow (or creating one with invalid nodes), the API returns structured errors that reference specific nodes, edges, or fields:

Telephony errors

Telephony operations may fail with one of these named error types returned in the detail field:

Tips for handling errors

  • Retry on 500 with exponential backoff โ€” transient server errors can resolve on retry.
  • Do not retry 4xx โ€” these indicate problems with your request that will not self-resolve.
  • Check detail carefully on 422 โ€” the loc array pinpoints exactly which field failed validation.
  • Store API keys securely โ€” a 401 on a previously working key likely means the key was archived.