SparkTG
Loading your experience...
Please wait while we prepare everything for you
Please wait while we prepare everything for you
Initiate outbound calls
Basic Authentication
POST
6 Parameters
JSON Format
/callsnumber(Integer)Number of customer to whom the call is to made
service-id(Integer)Id of the service
country-code(Integer)Required only for special/customized API, given by SparkTG in such case
agent-dial-first(Boolean)true
recording(Boolean)true
msg-to-agent(String)Customer asked to call back
Try this API with a simple cURL command
curl -i -u "username:password" "https://telephonycloud.co.in/api/v1/calls" -d "number=9999999999"Sample response from this API
{
"id": "423cdf8c-5663-458a-bc66-a38f2f8f797b"
}...