Skip to main content

Send Email Verification Email

POST 

/api/auth/email/verification/send

Send an email verification email to the user.

This endpoint is for resending the verification email only. When registering a user and email is enabled in your application an email containing a link is automatically sent to the user's email address. This link should point to the frontend of your application. You can find more information about this here. Your frontend should extract the token from the URL and send it to this endpoint with the token as request parameter.

You can perform the verification using the token through the endpoint POST /api/auth/email/verification.

Note: If email is disabled, there is no way to verify a user's email address.

If there is no account associated with the given email address, a No Principal Information email will be sent to the given email address.

Locale

A locale can be specified for this request. The email will be sent in the specified locale. You can learn more about locale in emails here.

If no locale is specified, the applications default locale will be used. You can learn more about configuring the default locale here.

Tokens

Note: After each email, a cooldown will be started. You can check the status of the cooldown through the endpoint GET /api/auth/email/verification/cooldown. When the cooldown is active, no new verification email can be sent. The cooldown can be configured here.

Request

Responses

The number of seconds the user needs to wait before sending a new email.