Conventional HTTP response codes are used to indicate success or failure of an API request. In general, codes in the 2xx range indicate success, codes in the 4xx range indicate an error that resulted from the provided information (e.g. a required parameter was missing, a charge failed, etc.), and codes in the 5xx range indicate a server error.
Attributes
errors
A array of human-readable message giving more details about the error.
HTTP Status Code Summary
Code
Description
200 - OK
Everything worked as expected.
400 - Bad Request
Invalid request headers.
401 - Unauthorized
No valid API key provided.
402 - Request Failed
No valid API key provided.
404 - Not Found
No valid API key provided.
50n - Server Error
Something went wrong on server side
Example Error
{
"errors": [
"unable to find organization for requested id."
]
}