Plivo REST APIs return their respone as JSON. Have a look at the examples below:

Example 1: Success

1
2
3
4
5
{
   "Success": True,
   "Message": "Call Request Executed",
   "RequestUUID": "75b26856-8638-11e0-802c-6d99d509954e"
}

Example 2: Error

1
2
3
4
5
{
   "Success": False,
   "Message": "Mandatory Parameters Missing",
   "RequestUUID": "56hf4856-8638-11e0-802c-65j6gd39954e"
}
  • Success – Indicates the successful execution API call as True or False
  • Message – Deatiled description message on result of execution of REST API
  • Other Params such as RequestUUID are sent along with the specific API call mentioned in the respective API sections

Comments are closed.