Skip to main content
GET
This is a public endpoint that does not require authentication. The verification token in the URL is sufficient for verification.

Query Parameters

string
required
The verification token received in the email. This is a JWT token containing the user ID.

Response

A successful request returns HTTP 200 OK status, indicating that the email has been verified. The user’s emailVerified status will be updated to true in the database.

Error Responses

object
Error details when the request fails
Common error cases:
  • 400 Bad Request: Missing verification token
  • 401 Unauthorized: Invalid or expired token
  • 404 Not Found: User not found