Skip to main content
POST
/
:projectId
/
api
/
v7
/
auth
/
verify-email
Verify Email
curl --request POST \
  --url https://api.replyke.com/api/v6/:projectId/api/v7/auth/verify-email \
  --header 'Content-Type: application/json' \
  --data '
{
  "token": "<string>"
}
'
{
  "success": true
}
Verifies a user’s email address using the token sent by the Send Verification Email endpoint (when mode is "code"). On success, the user’s isVerified field is set to true and the token is invalidated. This endpoint is unauthenticated — the token itself proves identity.

Body Parameters

token
string
required
The verification token from the email. Must match exactly, including case.

Response

success
boolean
true when the email was successfully verified.

Error Codes

CodeStatusDescription
auth/invalid-or-expired-token400The token does not exist in Redis — either it was never issued, has expired (5-minute TTL), or has already been used.
Tokens are single-use. Once consumed, the same token returns a 400 error. Tokens expire after 5 minutes regardless of whether they are used.

See Also