When objects are created, we return a 200 or 201 response containing the message and code of the new resource:
{
"data": {
"id": "string",
}
"warnings": [
{
"code": 0,
"message": "string"
}
]
}- 200 - OK
- 201 - Created, when resources are created
In any other case the API returns the following error codes:
- 204 - No Content, on resource updates or actions
- 302 - When token expires we can retrieve 302 response with login page url in location header
- 400 - Bad Request, the request contains invalid data or references non-existing resources
- 401 - Unauthorized, invalid or missing access token
- 403 - Forbidden, not allowed to access this resource
- 404 - Not Found, resource not found
- 429 - Too Many Requests, your app has reached the API rate limit
- 500 - Internal Server Error, something went wrong on our end. Sometimes this is because of a date-time format error
- 524 - Cloudflare response of timeout issue (operation takes way too long)