OTP
Request OTP
Request an OTP token
POST
Authorizations
An API key to authenticate requests
Body
application/json
OTP request object
Recipient of the OTP token
Example:
"2348023456789"
Length of the OTP token
Required range:
4 <= x <= 8
Example:
6
Time in minutes before the OTP token expires
Required range:
1 <= x <= 60
Example:
30
The OTP token to send to the recipient, if not specified, a new token will be generated
Example:
"123456"
Response
200
application/json
OTP response
ID of the OTP token
Example:
"674535b2b39158b9aae90188fcec23eb"
Recipient of the OTP token
Example:
"2348023456789"
Status of the OTP token
Example:
1
Description of the status of the OTP token
Example:
"SENT"
Date and time the OTP token was created
Example:
"2024-06-28T23:56:38.128604+00:00"
Date and time the OTP token was last updated, if any
Example:
"2024-06-28T23:56:38.128604+00:00"