Make Call Documentation
Make Call
v1.0Deprecating soon
Make Call
v1.0Deprecating soon
Deprecating soon
This API will be deprecated soon
Once it's deprecated it won't be supported any more. Move to its v2 version now: it takes the same parameters and uses a signed API token instead of a username and password.
Make a call (v2)Make Call
Initiate outbound calls
Call Managementv1.01 Endpoint
Overview
Make Call : POST : /calls
Authentication
Basic Authentication
Methods
POST
Parameters
6 Parameters
Response
JSON Format
Available Endpoints
POST
/callsKey Parameters
number(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
Quick Example
Try this API with a simple cURL command
Basic API Call
curl -i -u "username:password" "https://telephonycloud.co.in/api/v1/calls" -d "number=9999999999"💡 Replace username:password with your actual credentials
Response Preview
Sample response from this API
Sample Response
{
"id": "423cdf8c-5663-458a-bc66-a38f2f8f797b"
}...View complete response format in Response section
