Skip to main content
POST
/
api
/
auth
/
email
/
send-verification
Send email verification (code or link based on config)
curl --request POST \
  --url https://api.example.com/api/auth/email/send-verification \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "user@example.com",
  "redirectTo": "<string>"
}
'
{
  "success": true,
  "message": "If your email is registered, we have sent you a verification code/link. Please check your inbox."
}

Body

application/json
email
string<email>
required
Example:

"user@example.com"

redirectTo
string<uri>

Used for link-based email verification. The email link always opens an InsForge backend endpoint first; after the token is verified, InsForge redirects the browser to this URL. This URL must be included in allowedRedirectUrls. Recommended: use your app's sign-in page.

Response

Verification email sent (if email exists). Message varies based on configured method.

success
boolean
message
string
Example:

"If your email is registered, we have sent you a verification code/link. Please check your inbox."