Get OTP

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

Path parameters

ParameterDatatypeDescription
identifierNameenumPass any of the registered identifier type of the customer. Values: mobile, email, external_id, wechat.
identifierValuestringSpecify the value of the specified identifierType
sourceenumSource in which the customer is registered.
accountIdstringAccount ID of the source such as WeChat and Facebook. Required for sources with multiple accounts.
thresholdlongSpecify the validity of the OTP (in seconds) that you want to fetch.
scopeenumSpecify the scope of the issued OTP. Values: COUPON (for coupon redemption), POINTS (for points redemption), REGISTRATION, USERGROUP, SUBSCRIPTION, GENERIC (for other purposes).

Response parameters

ParameterDatatypeDescription
orgIdLongUnique ID of the org (the current org) from which the OTP is generated.
userIdLongUnique ID of the customer to whom the OTP is sent.
codeStringThe OTP, or validation code, sent to the customer.
validUptoDate-TimeThe validity of the OTP in YYYY:MM:DDTHH:MM:SS+[Time Zone]
📘

Note

You can generate up to 10 OTPs per user per day.

Query Params
string
enum
required
Allowed:
string
required
string
enum
required
string
int64
string
enum
required
Allowed:
Responses

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