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 Code
Meaning
200
OK
201
Object Created
400
Bad Request
401
Unauthorized
403
Forbidden
404
Not Found
422
Unprocessable Entity
429
Too Many Requests
500
Internal Server Error
503
Service 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.