Responses & Errors
Successful requests will return both a “message” and “data” field with a 2XX status code. Data can be represented by an object or array type.
{
"message": "Response message",
"data": {
# Response should be here
}
}{
"message": "Response message",
"data": [
# Response should be here
]
}Unsuccessful requests will return a “message” field containing the error message, with 4XX or 5XX status code.
Common error message
{
"message": "Error message."
}Error message with error id
Error message with error type
Validation error
Last updated
Was this helpful?