Access
Verify a one-time password (OTP)
Verifies a one-time password for a given email.
POST
/
v1
/
access
/
otp
/
verify
Authorizations
x-api-key
string
headerrequiredThe API key required for accessing protected routes. It should be included in the request headers as x-api-key
.
Body
application/json
email
string
requiredThe email address for which the OTP was generated.
code
string
requiredThe OTP code to verify.
Required string length:
6
Response
200 - application/json
success
boolean
Indicates whether the OTP verification was successful.
message
string
Confirmation message that the OTP has been verified.