# Get an email confirmation link

`GET /api/v1/auth/verify-email/{token}`

Whether an email confirmation link is still usable, and for which address. No sign-in needed.

Sign-in: none.

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

## Parameters

| Name | In | Required | Type | Description |
|---|---|---|---|---|
| `token` | path | yes | string | The token from the link's address. |

## Responses

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

### 200

The link's address.

`application/json`: VerificationInfo

| Field | Type | Required | Description |
|---|---|---|---|
| `email` | string | yes |  |
| `expiresAt` | string | yes |  |

### 400

Bad Request.

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

### 401

Unauthorized.

- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace

### 404

Not Found.

- `request.not_found`: it does not exist, or you cannot see it
- `verification.not_found`: email verification link does not exist

### 410

Gone.

- `verification.expired`: email verification link is older than 24 hours
- `verification.used`: email verification link was already used

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