Verify email address OTP code to authentication

Verifies the OTP code that was sent to the user's email.

post
Header parameters
Brand-URLstringRequired

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

Example: YOUR_BRAND_URL
Body

This class represents the data transfer object for the user authentication verify OTP request.

tokenstring · min: 1Required

The token to verify. This is the token that was received from the request to send the OTP.

Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbiI6IjEzNDU2Nzg5MzIifQ.1J7
otpstring · min: 1Required

The OTP to verify.

Example: 123456
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/email/verify-otp

Last updated