Error Response Shape
Every error response follows a consistent JSON structure:object
required
Container for error details.
string
required
A machine-readable error identifier, e.g.
invalid_request.string
required
A human-readable description of what went wrong.
array
Optional list of field-level validation errors.
string
required
Unique identifier for the request. Include this when contacting support.
HTTP Status Codes
Retry Guidance
Build resilient integrations with the following retry strategy:- Do not retry 400, 401, 403, 404, 409, or 422. Fix the request and try again.
- Retry 429, 500, and 503 with exponential backoff. Start with a 1-second delay, double on each retry, and cap at 60 seconds.
- Respect headers. Use
Retry-Afterfor 429 andX-RateLimit-Resetto schedule your next call. See the Rate Limits page for header details.
