Generate an OTP String

Create OTP strings of varying lengths.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
int32
required
Defaults to 7

The length of the OTP to generate. Expected value are between 5-7

customer
object
required

Customer-related information

string
required

The Sender name displayed in the OTP message.

string
required
Defaults to true

Set to true to send otp to customer.

string
required
Defaults to [ email, whatsapp ]

The delivery method for the OTP. Supported values include sms, email and whatsapp.

int32
Defaults to 1

The expiry time, in minutes, of the OTP. Default value is 1 minute.

Headers
string
required
Defaults to Bearer FLWSECK_TEST-SANDBOXDEMOKEY-X

Pass your secret key as a bearer token in the request header to authorize this call

Responses

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