GET /api/auth/verify-email
No operationId in openapi.json · page id get-api-auth-verify-email
Verify the email of the user
Authentication
None. Anyone can call this.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| token | query | string | yes | The token to verify the email |
| callbackURL | query | string | no | The URL to redirect to after email verification |
- Name
- token
- In
- query
- Type
- string
- Required
- yes
- Description
- The token to verify the email
- Name
- callbackURL
- In
- query
- Type
- string
- Required
- no
- Description
- The URL to redirect to after email verification
Responses
200 Success
userUserrequiredidstringrequirednamestringrequiredemailstringrequiredemailVerifiedbooleanrequiredimagestringcreatedAtstring (date-time)requiredupdatedAtstring (date-time)requiredtwoFactorEnabledboolean
statusbooleanrequiredIndicates if the email was verified successfully
400 Bad Request. Usually due to missing parameters, or invalid parameters.
messagestringrequired
401 Unauthorized. Due to missing or invalid authentication.
messagestringrequired
403 Forbidden. You do not have permission to access this resource or to perform this action.
messagestring
404 Not Found. The requested resource was not found.
messagestring
429 Too Many Requests. You have exceeded the rate limit. Try again later.
messagestring
500 Internal Server Error. This is a problem with the server that you cannot fix.
messagestring