Skip to main content
POST
POST
Validates the OTP sent to the user’s email address and marks it as verified. Call Send Email OTP first to dispatch the code.
OTP codes expire after 15 minutes and are single-use. Submitting an expired or invalid code returns 400.

Request Body

string
required
The email address the OTP was sent to.
string
required
The 6-digit OTP code from the email.

Response

boolean
true when the OTP is valid and the email has been marked verified.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
email
string
required
otp
string
required
Example:

"482910"

Response

Email verified