Skip to main content

Status Codes

Each endpoint page lists the statuses it returns, with an example body for each.

Error Bodies

Most errors have success: false and a readable error, sometimes with details:
A few carry message instead of error, such as an agent that doesn’t exist:
Read error, and fall back to message. The text is for people: branch on the status code, not on the wording.

Rate Limits

Requests are rate limited. Every response carries these headers: Go over the limit and you get a 429 with a Retry-After header giving the seconds to wait:
Wait at least that long before you retry, and back off further if the 429s continue.

Retrying Safely

If a request to place a call times out, don’t send it again blind. Check On-Demand activity on the campaign’s On-Demand tab in Studio first, or accept that the contact may be called twice.