Skip to main content
Threetone uses standard HTTP status codes. Read the response body before deciding whether to change the request or retry it.

API error response

Authentication, authorization, conflict, not-found, and server errors use a detail object:
The status value is machine readable. The message explains the failure, and request_id identifies the request in Threetone logs.

Validation error response

A 422 Unprocessable Entity response uses a list of validation errors:
Use loc to find the invalid path, query parameter, header, or request-body field. Correct the request before sending it again.

Common status codes

Retry safely

Retry transient 429 and 5xx responses with exponential backoff and jitter. Honor Retry-After when present. Before retrying a mutation, check whether the endpoint supports an idempotency key or whether the resource was already created or updated. Do not automatically retry a validation, authentication, authorization, or not-found response. Keep the X-Request-Id response header, status code, method, path, and timestamp for any failure that needs investigation.