Verify Email
Auth
Verify Email
Verify a user’s email address using the token sent in the registration email.
The user clicks a link in their inbox that includes this token as a query
parameter. On success, email_verified is set to True and the token is
cleared so the link cannot be reused.
Args: token: The URL-safe verification token from the email link. db: Database session.
Returns: A JSON message confirming successful verification.
Raises: HTTPException 400: If the token is not found or has expired.
GET
Verify Email
Query Parameters
Minimum string length:
1Response
Successful Response