# Get a password reset link

`GET /api/v1/auth/reset/{token}`

Whether a reset link is still usable, and for which account. No sign-in needed.

Sign-in: none.

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

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

`application/json`: ResetInfo

| 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
- `reset.not_found`: reset link does not exist

### 410

Gone.

- `reset.expired`: reset link is older than 1 hour
- `reset.used`: reset link was already used

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