# Get a card's history

`GET https://evohub.io/api/v1/board/cards/{cardID}/history`

Part of the [Board API](https://docs.evohub.io/board.md) reference · operationId `getCardHistory`.

What has happened to the card, newest first, up to 200 events.

Requires the `board:card:read` scope.

## Authorization

Any one of:

- `bearerKey`
- `headerKey`

Where:

- `bearerKey`: HTTP Bearer — An EvoHub API key (`evohub_…`) as a bearer token.
- `headerKey`: API key in the header `X-API-Key` — An EvoHub API key (`evohub_…`).

## Path parameters

- `cardID` (string, required, example `crd_9f2e4d6c8b0a1e3f5d7c9b1a3e5f7d90`): The card's ID.

## Responses

### 200 — The card's events.

Content type: `application/json`

Type: `object`

- `data` (object)
  - `events` (array of Activity)
    - `seq` (integer)
    - `org_id` (string)
    - `board_id` (string)
    - `card_id` (string): Present for events about a card.
    - `actor_id` (string): The person, or organization key, that did it.
    - `kind` (string, example `card.moved`): What happened, such as `board.created`, `list.renamed`, `card.moved`, `card.approved`, `card.rejected`, `card.assigned`, `comment.added` or `card.auto_archived`.
    - `payload` (object): Details of the event; the keys depend on `kind`.
      - Other keys: any
    - `created_at` (string (date-time))

### 401 — No API key was sent, or it is unknown, revoked or expired (`UNAUTHORIZED`).

Content type: `application/json`

Type: `Error`

- `error` (object, required)
  - `code` (string, required, example `NOT_FOUND`)
  - `message` (string, required, example `not found`)
  - `request_id` (string)

### 403 — The key lacks the scope this endpoint needs (`FORBIDDEN`).

Content type: `application/json`

Type: `Error`

- `error` (object, required)
  - `code` (string, required, example `NOT_FOUND`)
  - `message` (string, required, example `not found`)
  - `request_id` (string)

### 404 — It does not exist, or it is on a board the caller cannot see (`NOT_FOUND`).

Content type: `application/json`

Type: `Error`

- `error` (object, required)
  - `code` (string, required, example `NOT_FOUND`)
  - `message` (string, required, example `not found`)
  - `request_id` (string)

### 429 — Too many requests (`RATE_LIMITED`). Wait for `Retry-After` seconds.

Headers:

- `Retry-After` (integer): Seconds to wait before retrying.

Content type: `application/json`

Type: `Error`

- `error` (object, required)
  - `code` (string, required, example `NOT_FOUND`)
  - `message` (string, required, example `not found`)
  - `request_id` (string)

### 500 — Something went wrong on EvoHub's side (`INTERNAL_ERROR`). Retry later.

Content type: `application/json`

Type: `Error`

- `error` (object, required)
  - `code` (string, required, example `NOT_FOUND`)
  - `message` (string, required, example `not found`)
  - `request_id` (string)

## Example request

```bash
curl -X GET 'https://evohub.io/api/v1/board/cards/crd_9f2e4d6c8b0a1e3f5d7c9b1a3e5f7d90/history' \
  -H 'Authorization: Bearer <TOKEN>'
```
