Response Codes
The response header will provide a number indicating the results of your request. Status codes in the 2xx range indicate that the request was completed successfully. Codes in the 4xx range indicate an error with the information provided. Codes in the 5xx range indicate an error on our end.
Status Codes
Status Code | Reason |
---|---|
200 | OK - Everything worked as expected |
201 | Created - The new resource has been created successfully |
400 | Bad Request - The request failed due to invalid information |
401 | Unauthorized - Client failed to authenticate with the server |
404 | Not Found - The resource requested can not be found |
500 | Internal Server Error - Something went wrong on our end |
Error Handling
If you receive a 4xx status code you will be provided with the invalid parameters that are preventing the request from being performed successfully. This means the request is missing a required parameter or response body.
Example Response
{
"statusCode": 400,
"message": "Invalid ID",
"error": "Bad Request"
}