The API returns standard HTTP status codes to indicate the success or failure of a request. Responses in the 2XX
range indicate a successful request, while 4XX and 5XX indicate an error.
An error returned by the API will have the following structure:
{
"success": false,
"error": {
"type": "error_code",
"message": "A human-readable error message",
"data": null
}
}Error Codes
The API returns different error codes depending on what went wrong. See the error codes for a full list of possible values.