JSON

Request input

The Cendo API is a RESTful API that accepts and returns JSON data. Please ensure that all POST data is sent in JSON.

Headers

Key
Value

Content-Type

application/json


Response data

We have two types of response data when success or failure with a 200 status code.

  • Successful response

{
    "success": true,
    "data": {},//Response result
}

  • Failed response

{
    "success": false,
    "message": ""//Message error
}

Tips: We do not use 4xx or 5xx HTTP codes for any failure cases.

Last updated

Was this helpful?