# Resend the confirmation email

`POST /api/v1/auth/verify-email/resend`

Sends the signed-in account a new confirmation link: at most once a minute and five times an hour.

Sign-in: a dashboard session only. API tokens and OAuth sign-ins get `403 token.not_allowed`.

Section: Sign-in and account. Operation id in openapi.json: `resend_email_verification`.

## Responses

Errors are `application/problem+json` (`Problem`); branch on `type`.

### 204

Sent.

### 400

Bad Request.

- `auth.credentials_conflict`: the request carries both a session cookie and a token

### 401

Unauthorized.

- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended
- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace

### 403

Forbidden.

- `auth.forbidden`: your role is too low for this
- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it
- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`

### 409

Conflict.

- `verification.already_done`: account email is already confirmed: no new email needed

### 429

Too Many Requests.

- `session.rate_limited`: more than 5 changes a second from your sessions
- `verification.rate_limited`: a verification email was sent less than a minute ago or 5 were already sent within an hour; `Retry-After` in seconds

Schemas named above are listed with their fields in [the schema list](https://docs.monitorly.cloud/api/reference/schemas.md).
