NewDash Dots are hereMini apps in Dash, with payments built inLearn more

USSD OTP

Create USSD OTP

Creates a new USSD OTP session for secure phone-bound verification.

POST
/v1/ussd-otps

Authorization

Authorizationstringheaderrequired

Bearer HTTP authentication specified with the header Authorization: Bearer <access_token>

Headers

Idempotency-Keystringrequired

This header is used to uniquely identify a logical request, ensuring that it is not processed more than once during retries.

Length:length <= 64
Monime-Versionstring | nulloptional

Specifies which version of the Monime API will handle this request.

Available options:caph.2025-08-23caph.2025-06-20
Monime-Space-Idstringrequired

The value is the tenancy parameter that Monime uses to determine which space the request is intended for.

Match:^spc-.*$
Length:length <= 64

Body

application/json
authorizedPhoneNumberstringrequired

Phone number (MSISDN) authorized to verify the OTP. Will be used to validate the incoming USSD request.

verificationMessagestring | nulloptional

Message shown to the user after successful verification, typically rendered on the USSD interface.

Length:length <= 255
durationstringoptional

How long the OTP code remains valid before expiring. Specified as a duration string (e.g., '30s', '2m').

Default:"5m"
metadataobject | nulloptional

Optional metadata to associate additional context or tracking info with this OTP session.

Properties:properties <= 64

Response

200 - application/json

OK

successbooleanoptional

Represents the status of the query operation, confirming if it was successful. This field is always true

messagesarray<unknown>optional

Contains a list of messages providing relevant information or feedback related to the query or operation

resultUSSD OTPoptional

A USSD OTP represents a one-time passcode session used to authenticate users through a USSD dial flow.
It enables secure, phone-bound verification, ensuring that the person interacting via USSD is the legitimate account holder.

In addition to generating and validating the OTP, the flow may include user-facing feedback messages that confirm the process.