---
title: "Send email verification (code or link based on config)"
method: POST
path: "/api/auth/email/send-verification"
tags: ["Client"]
---

# Send email verification (code or link based on config)

`POST /api/auth/email/send-verification`

Send email verification using the method configured in auth settings (verifyEmailMethod). When method is 'code', sends a 6-digit numeric code. When method is 'link', sends a browser verification link that goes through an InsForge backend endpoint first. Prevents user enumeration by returning success even if email doesn't exist.

## Request body

- object
  - `email` string, email, required
  - `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 `202`

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

- object
  - `success` boolean
  - `message` string

## Other responses

- `400` — Invalid request

---

[API](https://skmtc.net/insforge/apis/insforge-authentication-api.md) · [All operations](https://skmtc.net/insforge/apis/insforge-authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/insforge/insforge-authentication-api/versions/a935bb49f932/schema)
