The Mangrove API returns standard HTTP success or error status codes. For errors, the API will also include extra information about what went wrong encoded in the response as JSON.

Status CodeMeaning
200OK
201Object Created
400Bad Request
401Unauthorized
403Forbidden
404Not Found
422Unprocessable Entity
429Too Many Requests
500Internal Server Error
503Service Unavailable

Errors will be returned in the following JSON format:

{
  "message": "Record not found."
}

The API will provide a descriptive error message in the message value of each error.