# List tickets

`GET /v1/tickets` · scope `tickets:read`

The account's support tickets.

## HTTP request

| Item | Value |
| --- | --- |
| URL | `https://api.tino.vn/v1/tickets` |
| Method | `GET` |
| Scope | `tickets:read` |
| Header | `Authorization: Bearer <token>` |
| Content-Type | — (no body) |
| Tokens that can call it | app tokens (`tinoat_`), personal API tokens (`tinopat_`) |

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `page` | query | integer | no | Zero-based page index. page=0 is the first page; the response echoes it 1-based in page.current. Default: `0`. |
| `perpage` | query | integer | no | Rows per page. Defaults to the account's RecordsPerPage setting. |
| `orderby` | query | string | no | Sort expression in the form `field\|DESC` or `field\|ASC`, e.g. `date\|DESC`. |
| `filter` | query | object | no | Endpoint-specific filters, serialised as filter[key]=value. |

## Example request

```bash
curl "https://api.tino.vn/v1/tickets" \
  -H "Authorization: Bearer $TINO_TOKEN"
```

`$TINO_TOKEN` is a token with the scope `tickets:read`.

SDK ([SDK & examples](/en/docs/sdk)): Python `client.support.list_tickets()`, Node.js `await client.support.listTickets();`, PHP `$client->support->listTickets();`.

## Example response

```json
{
 "tickets": [
  {
   "client_read": "1",
   "ticket_number": "400001",
   "date": "2026-07-24 10:00:00",
   "deptname": "Phòng hỗ trợ kỹ thuật",
   "subject": "test example.org",
   "status": "Closed",
   "lastreply": "2026-07-24 10:00:00"
  },
  {
   "client_read": "1",
   "ticket_number": "400002",
   "date": "2026-07-24 10:00:00",
   "deptname": "Phòng quản lý tên miền",
   "subject": "test email",
   "status": "Answered",
   "lastreply": "2026-07-24 10:00:00"
  },
  "… 5 more item(s)"
 ],
 "page": {
  "current": 0,
  "total": 1
 }
}
```

Live sample from a test account with personal data masked; long arrays and strings are trimmed (`… N more item(s)`, `… N more line(s)`).
