Validate OTP Documentation
Validate OTP
v1.0Moving to v2
Validate 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 v2Validate OTP
Verify OTP codes
Messaging & Verificationv1.01 Endpoint
Overview
Validate OTP : POST : /otp
Available Endpoints
POST
/otpKey Parameters
number(Integer)Number on which OTP was sent / to be validated
otp(Integer)OTP which is to be validated
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" -d "number=9999999999&otp=9875"💡 Replace username:password with your actual credentials
Response Preview
Sample response from this API
Sample Response
trueView complete response format in Response section
