Verify email OTP

Verify the OTP sent to the user's email address and mark the email as verified if correct.

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
emailstringRequiredformat: "email"
User's email address
otpstringRequiredformat: "^\d{6}$"

6-digit verification OTP

Response

Email verified successfully
messagestring
emailstring
verifiedboolean

Errors

400
Bad Request Error
500
Internal Server Error