API Documentation

Send OTP

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

Rate limit of 50 RPS is applied to SMS service. Verihubs also apply rate limit divided into several categories based on product. More explanation link

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

Status Description

StatusDescriptionCondition
0RequestedSMS OTP has been requested.
1DeliveredSMS OTP has been delivered to destination number. This status will be charged.
2VerifiedSMS OTP has been verified using verify OTP API. This status will be charged.
3Not VerifiedSMS OTP has not been verified after the time limit. This status will be charged.
4FailedOperator cannot send SMS OTP to destination number
5Request ErrorVerihubs cannot reach Operator
6RejectedRequest rejected due to Too Many Requests
7UndeliveredSMS OTP has not been delivered to destination number (response received from Operator). This status will be charged.
8No Delivery ReportDelivered without Delivery Report from Operator after certain period. This status will be charged.
9BlockedDestination Number has been blocked by Verihubs's system
Language
Click Try It! to start a request and see the response here!