post https://api.servetel.in/v1/click_to_call_support
Servetel offers a Click to Call Support feature that allows the call to be routed to destinations like IVR, Department etc.
This feature requires API key that can be generated using servetel portal.
The API key is generated against a destination which will be the endpoint of the call.
Kindly contact Servetel support team to enable Click to Call API Key on Servetel portal for your account
Start a Call
Click to call support can be started using the below method
curl --request POST \
--url https://api.servetel.in/v1/click_to_call_support \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{"customer_number":"9000000009","api_key":"abcdef-**********-abcdef"}'
Request Variables
Variable Name | Description | Data Type |
---|---|---|
customer_number | Number of the customer who will receive call. Customer number must be a valid 10- Digit phone number. | String |
api_key | API Key for authentication and also to determine the destination for the call. | String |
Response variables
Variable Name | Description | Data Type |
---|---|---|
success | Request success status | Boolean |
message | Message corresponding success status | String |
Example Response
{
"success" : true,
"message" : "Originate successfully queued"
}