In all API responses we use the HTTPS status code. Below we show you the format of the statuses and messages of the responses.
-
200: OK. The request succeeded.
{ "data": { ... } } -
400: Bad Request. Cannot process the request beacaus of an issue in the body params of the request.
{ "error": { "code": 400, "message": ... } } -
401: Unauthorized. The Authentication header is invalid or has invalid credentials.
{ "error": { "code": 401, "message": "Invalid credentials." } } -
404: Not Found. We cannot found the resource you trying to access.
{ "error": { "code": 404, "message": "Record not found." } }