# Get an acknowledge link

`GET /api/v1/ack/{token}`

The incident behind the acknowledge link of an alert, for the page that asks the signed-in person to confirm. Opening it acknowledges nothing. A link older than 7 days, or of an incident that closed, answers `ack_link.not_found`.

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

Section: Incidents. Operation id in openapi.json: `get_ack_link`.

## 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 incident of the link.

`application/json`: AckLinkView

| Field | Type | Required | Description |
|---|---|---|---|
| `canAcknowledge` | boolean | yes | The caller may acknowledge it (editor or above) and nobody has yet. |
| `incident` | IncidentView | yes |  |

### 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

### 404

Not Found.

- `request.not_found`: it does not exist, or you cannot see it
- `ack_link.not_found`: the acknowledge link is unknown, older than 7 days, or its incident closed

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