Send OTP Documentation
Send OTP
v1.0Moving to v2
Send OTP
v1.0Moving to v2
This API is moving to v2
All SparkTG APIs are moving to API v2, with signed API tokens instead of a username and password. This one will follow soon; until then, use it on v1 as documented here.
Moving to API v2Send OTP
Generate and send OTP
Messaging & Verificationv1.01 Endpoint
Overview
OTP : GET : /otp
Available Endpoints
GET
/otpKey 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
5275View complete response format in Response section
