SparkTG

Click2Call Documentation

Click2Call

v1.0

Click2Call

OTP verified callback requests

Call Initiationv1.01 Endpoint

Overview

Click 2 Call : POST : /calls

Authentication

Basic Authentication

Methods

POST

Parameters

3 Parameters

Response

JSON Format

Available Endpoints

POST/calls

Key Parameters

number(Integer)

Number on which call is to be made

otp(Integer)

OTP which was sent on the number

service-id(Integer)

Id of the service

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&otp=9275"
💡 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