Generate and Send OTP

Generates a One-Time Password and delivers it to the specified MSISDN.
The OTP length and expiry time can be configured per request.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

Account username.

password
required

Account password.

string
required

Destination MSISDN in international format (without +).

string
required

Message template. Must include the %m escape character which will be
replaced by the generated OTP. Message must be URL-encoded.

string
required
length ≤ 18

Sender ID assigned to the user.

  • Max 18 characters if numeric only
  • Max 11 characters if alphanumeric
integer
required
4 to 8
Defaults to 5

Length of the OTP to be generated.

integer
required

OTP validity time in seconds.

string

Identifier name for the given batch. Optional.

Responses

400

Invalid parameters.

401

Authentication failure.

500

Internal server error. Please contact support if this persists.

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain