# Get a confirmation link

`GET /api/v1/alert-channel-confirmations/{token}`

What an email channel's confirmation link confirms, without confirming it. No sign-in needed.

Sign-in: none.

Section: Alert channels. Operation id in openapi.json: `get_alert_channel_confirmation`.

## 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 channel the link confirms.

`application/json`: ChannelConfirmation

| Field | Type | Required | Description |
|---|---|---|---|
| `confirmed` | boolean | yes | True once confirmed (the answer of the POST, or a GET after it). |
| `email` | string | yes |  |
| `expiresAt` | string \| null | no |  |
| `projectName` | string \| null | no | Null for a workspace channel. |
| `workspaceName` | 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
- `alert_channel.verify_not_found`: channel confirmation link not found (already used or channel deleted)

### 410

Gone.

- `alert_channel.verify_expired`: confirmation link is older than 24 hours: send the email again

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