SparkTG

Validate OTP Documentation

Validate OTP

v1.0

Validate OTP

Verify OTP codes

Messaging & Verificationv1.01 Endpoint

Overview

Validate OTP : POST : /otp

Authentication

Basic Authentication

Methods

POST

Parameters

2 Parameters

Response

JSON Format

Available Endpoints

POST/otp

Key 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
true
View complete response format in Response section