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 or null
emailstring or null
verifiedboolean or null

Errors