SparkTG

Add Call Documentation

Add Call

v1.0

Add Call

Add participants to calls

Call Managementv1.01 Endpoint

Overview

Add Call : POST : /add-call

Authentication

Basic Authentication

Methods

POST

Parameters

3 Parameters

Response

JSON Format

Available Endpoints

POST/add-call

Key Parameters

toagentid(Integer)

345

agent-id(Integer)

675

xnid(UUID)

0a83b9e6-50b7-48c8-a3c5-2e8f7d60e1ae

Quick Example

Try this API with a simple cURL command

Basic API Call
curl -i -X POST -u "username:password" -d "xnid=0e5aff8c-8707-4377-8baa-31cceab9fca7&toagentid=321&agent-id=432" "https://telephonycloud.co.in/api/v1/add-call"
💡 Replace username:password with your actual credentials

Response Preview

Sample response from this API

Sample Response
{"isError":false,"callTxnId":"0e5aff8c-8707-4377-8baa-31cceab9fca7"}
View complete response format in Response section