# Get all plater readings by terminal id

`GET https://api.parklio.com/v2/terminals/{id}/plate-readings`

This endpoint allows the user to list all plater readings by terminal id

**Auth:** `Authorization: Bearer <token>`

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | yes |  |

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `page` | number | no | Page number, starting at 1. See [Paging](/api/conventions#paging). |
| `size` | number | no | Items per page: 10 by default, at most 300. See [Paging](/api/conventions#paging). |
| `filter` | string[] | no | Filter as `field:rule:value`, for example `lot_id:eq:7`. Repeat `filter` to combine filters; all must match. Fields: `direction`, `plate`, `session_id`. See [Filtering](/api/conventions#filtering). |
| `sort` | string[] | no | Sort as `field:asc` or `field:desc`. Send it once. Fields: `created_at`, `id`, `plate`. See [Sorting](/api/conventions#sorting). |

## Responses

### 200

```json
{
  "success": true,
  "meta": {
    "total": 100,
    "per_page": 10,
    "current_page": 1,
    "last_page": 1,
    "first_page": 1,
    "first_page_url": "/?page=2",
    "last_page_url": "/?page=10",
    "next_page_url": "/?page=3",
    "previous_page_url": "/?page=1"
  },
  "data": [
    {
      "session_id": "854813550000003054",
      "started_at": "2026-01-15T09:30:00.000Z",
      "ended_at": "2026-01-15T09:30:00.000Z",
      "duration": 10800,
      "discount_time": 15,
      "entry_type": "exit",
      "entry_terminal": "Terminal.85481355",
      "amount_paid": 20,
      "amount_due": 1.3,
      "payments": [
        {
          "origin": "85481355",
          "payment_id": 1,
          "session_id": "854813550000003054",
          "paid_at": {},
          "currency": "EUR",
          "amount_paid": 20,
          "amount_due": 20,
          "payment_method": "CARD",
          "success": true,
          "error": null,
          "provider_transaction_id": "521911099292",
          "provider_payment_id": "854813550000003054-9a8a-00006894898d"
        }
      ],
      "possibly_exited": false,
      "exit_allowed": true,
      "license_plate": "DT-PLATE2"
    }
  ]
}
```

### 401 — Account user is not logged in and they should log in again.

```json
{
  "success": false,
  "errors": [
    {
      "code": 1,
      "message": "Unauthorized access."
    }
  ]
}
```

### 503 — the device might not be connected or an internal error happened

```json
{
  "success": false,
  "errors": [
    {
      "code": 40,
      "message": "the message to the remote device timed out"
    }
  ]
}
```

