Generate a new OTP code

Generate a new OTP Code for pairing authentication between two devices.

post

Similar to QR Code pairing but uses a numeric or alphanumeric code instead. The OTP Code should have a short TTL (e.g., 60 seconds).

Header parameters
Brand-URLstringRequired

The brand URL of the request. This is used to identify the brand.

Example: YOUR_BRAND_URL
Responses
chevron-right
200

The request was successful.

application/json

The API result model with data.

successbooleanRead-onlyRequired

This is the flag to indicate whether the API call is successful or not.

statusCodeinteger · int32Read-onlyRequired

This is the HTTP status code. This is used to determine the status code to be returned to the client.

messagestring · min: 1Required

This is the message to be displayed to the user.

post
/api/v1/users/auth/passwordless/otp/generate

Last updated