Create verification

This API generates and sends a one-time verification code or accepts a custom OTP code provided by you to a user using the configured priority channels (e.g., Viber, WhatsApp, SMS).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
  • The system always tries the highest-priority channel first.
  • If message delivery fails or expires, it will automatically fall back to the next available channel.
  • When using custom code mode, the client supplies their own OTP.

Body Params

Verification create request

string
required
\S

The phone number to which the 2FA/verification message will be sent (must be in international format, e.g., +35799999999).

string

The custom OTP of the verification request. If not provided, a random OTP will be generated.

string

A URL where you want delivery reports related to your request to be sent. This overrides any default callback URL that you've previously set. The override only lasts for this request.

template
object

The template of the verification request. If not provided, the default template will be used.

channels
array of objects

A list of channels to use for delivering the verification code, ordered by priority. The system starts with the channel that has priority 1; if it fails, it will automatically fall back to the next available channel. If not specified, the default channel order configured in your application will be used.

channels
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json