Authentication
Verify an email address with the emailed link token
GET
Access: Public, no token needed.
Confirms the email address using the JWT from the verification link and marks the account as verified. The token must be the most recently issued one for the account: requesting a new link or code invalidates earlier ones, and a token cannot be reused after it succeeds. Returns JSON, not a redirect; the frontend page that the link opens is expected to call this endpoint. 4-digit mobile codes are not accepted here (use POST /auth/verify-email-otp).
Note that a token that is expired or not a valid JWT is answered with 500, not 400, because the verification helper throws a plain error.
token*stringThe verification token from the token query parameter of the emailed link.
- Email verified
- The account was already verified by another route (for example by linking Google or Apple) while this token was still stored
application/json- response
status*integersuccess*booleanmessage*stringdata*unknowncurl -X GET 'http://localhost:4000/api/v1/auth/verify-email?token=string'Example Response
{ "status": 200, "success": true, "message": "Email verified successfully. You can now sign in.", "data": null}
HomeLink Hub