Skip to main content

The envelope

Every response — success or error — shares one shape.
integer
The HTTP status code, repeated in the body.
string
A human-readable summary of the outcome.
enum
Either SUCCESS or ERROR.
object | null
The payload. null on error.
array
A list of {code, message, field} objects. Empty on success. Body-validation failures return one entry per offending field.

Status codes

There is no 429. This API never returns 429 to partners. Rate limits surface as 400 VALIDATION_ERROR instead, so do not build your retry logic around a 429.
A missing permission is a 400, not a 403. If a call fails validation for no apparent reason, check the permissions on the key before you check the body.