Send OTP via query parameter

This method helps you to generate and send sms containing one-time password to destination number

The following table describes the msisdn option to be used as an input

Msisdn PayloadDescription
628001Delivered
628002Request Error
628003Failed
628004Failed
628005Request Error
628006Request Error
628007Failed
628008Request Error
628009Undelivered

Callback Description

When you want to use callback_url payload, you only need to put for example

your-callback-url.com/callback

Example callback that we'll send

your-callback-url.com/callback?session_id=d0f5fb5c-2d50-4d3f-aea7-20018ab15806&status=1
PayloadDescription
session_idID of the specific message
statusLatest status of the request

Callback Status Description

StatusDescriptionCondition
0RequestedSMS OTP has been requested.
1DeliveredSMS OTP has been delivered to destination number. This status will be charged.
4FailedOperator cannot send SMS OTP to destination number
5Request ErrorVerihubs cannot reach Operator
7UndeliveredSMS OTP has not been delivered to destination number (response received from Operator). This status will be charged.
Language
Click Try It! to start a request and see the response here!