RCS API Responses

The RCS API call returns JSON Response. Different API Route returns success and error response differently. Given below examples:

Sample Success Response

API Success Response given below is for sending a message:

{
"code": 200,
"message": "Short message",
"description": "Optional longer description."
}

Sample Error Response

API Failure Response will contain an error code number with a short message. Optionally, a longer description content will be available to explain and suggest further.

{
"code": ERROR_CODE,
"message": "Short message",
"description": "Optional longer description."
}