Skip to content

Verify an email address (the link in the verification email)

POST
/verify-email
curl --request POST \
--url 'http://localhost:4000/api/auth/verify-email?token=example' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data password=example

Marks the email verified only if the password matches the one the account was created with, so someone who signed up with your address cannot get in when you verify it. Limited to 20 tries per IP and 5 per account every 5 minutes.

token
required
string
Media typeapplication/x-www-form-urlencoded
object
password
required
string

Example generated

password=example

Verified

Media typetext/html

Missing password, or the link is broken or expired

Media typetext/html

Wrong password

Media typetext/html

The password changed while verifying, or the account has no password

Media typetext/html

Too many tries

Media typetext/html

The password could not be checked; nothing changed

Media typetext/html