SparkTG

Make Call Documentation

Make Call

v1.0

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/calls

Key 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