The status code contained in the response of the API under the "status" label repect the HTTP response status codes. The "success" label of the response contains a Boolean value for a faster analysis.
For security reasons, TLS must be enabled and HTTPS is required for each of your API requests.
The errors response data contains four informations :
Entry | Data type | Description |
---|---|---|
success | Boolean | Returns a Boolean value describing the result of the requested action. |
status | HTTP response | Returns the HTTP status codes code associated with the result of the requested action. |
title | String | Returns the label associated with the HTTP response code. |
details | String | Contains a description of the result of the requested action. |
{
"response": {
"success": false,
"status": "403",
"title": "Forbidden",
"detail": "API authentification failed. Please verify your API keys."
}
}