Skip to main content
POST
/
v2
/
databases
/
{database}
/
auth
/
verify-email
Sends a verification email
curl --request POST \
  --url https://api.example.com/v2/databases/{database}/auth/verify-email \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data email=user@example.com \
  --data callbackUrl=https://example.com/callback \
  --data 'csrfToken=<string>' \
  --data redirectUrl=https://example.com/dashboard
"<string>"

Path Parameters

database
string
required

Body

application/x-www-form-urlencoded
email
string<email>
required
Example:

"user@example.com"

callbackUrl
string<uri>

URL the user is sent to after resetting

Example:

"https://example.com/callback"

csrfToken
string

CSRF protection token

redirectUrl
string<uri>

Optional post-auth redirect

Example:

"https://example.com/dashboard"

Response

Token has been sent to the client via cookie, if possible