Error format
All errors return a JSON body with adetail field:
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 thedetail field:
Tips for handling errors
- Retry on
500with 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
detailcarefully on422— thelocarray pinpoints exactly which field failed validation. - Store API keys securely — a
401on a previously working key likely means the key was archived.