Section Y - Webhook API

Y1 - Zoho block-unblock users

GET & POST Method :

/api/v1/zoho/< type>/< action>

GET Data Input :

Argument Mandatory Value
type Yes “phone” or “email”
action No “block” or “unblock” (By Default “block”)

with the following POST data:

POST Data Input :

Argument Mandatory Value
JSONString Yes {"contact_persons_details": {"phone":"9876543210"}} or {"contact_persons_details":{"email":" [email protected] "}}

Sample Output :

{
 "status": "success",
 "message": "The user has been unblocked"
}
{
 "status": "success",
 "message": "The user has been blocked" }

Y2 - Exotel user calls

GET Method :

/api/v1/user_calls/ with the following data:

Input :

Argument Mandatory Value
OPERATOR Yes String keyword < “exotel”>

Sample Output :

{
 "status": "success",
 "errorCode": 200
}