SparkTG

Send OTP Documentation

Send OTP

v1.0

Send OTP

Generate and send OTP

Messaging & Verificationv1.01 Endpoint

Overview

OTP : GET : /otp

Authentication

Basic Authentication

Methods

GET

Parameters

3 Parameters

Response

JSON Format

Available Endpoints

GET/otp

Key Parameters

number(Integer)

Number on which OTP is to be sent

keyword(String)

Represents for which purpose the OTP is sent, default value : Click2Call

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/otp?number=9999999999"
💡 Replace username:password with your actual credentials

Response Preview

Sample response from this API

Sample Response
5275
View complete response format in Response section