# Danh sách liên hệ (contacts)

`GET /v1/contacts` · quyền `profile:read`

Các liên hệ (tài khoản phụ) của tài khoản.

## HTTP request

| Mục | Giá trị |
| --- | --- |
| URL | `https://api.tino.vn/v1/contacts` |
| Method | `GET` |
| Quyền (scope) | `profile:read` |
| Header | `Authorization: Bearer <token>` |
| Content-Type | — (không có body) |
| Token gọi được | token ứng dụng (`tinoat_`), token API cá nhân (`tinopat_`) |

## Tham số

| Tên | Vị trí | Kiểu | Bắt buộc | Mô tả |
| --- | --- | --- | --- | --- |
| `page` | query | integer | không | Zero-based page index. page=0 is the first page; the response echoes it 1-based in page.current. Default: `0`. |
| `perpage` | query | integer | không | Rows per page. Defaults to the account's RecordsPerPage setting. |
| `orderby` | query | string | không | Sort expression in the form `field\|DESC` or `field\|ASC`, e.g. `date\|DESC`. |
| `filter` | query | object | không | Endpoint-specific filters, serialised as filter[key]=value. |

## Example request

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

`$TINO_TOKEN` là token có quyền `profile:read`.

SDK ([SDK & Ví dụ](/docs/sdk)): Python `client.account.list_contacts_legacy()`, Node.js `await client.account.listContactsLegacy();`, PHP `$client->account->listContactsLegacy();`.

## Example response

```json
{
 "contacts": null,
 "page": {
  "current": 0,
  "total": 0
 }
}
```

Mẫu thật từ tài khoản thử, đã che dữ liệu cá nhân; mảng và chuỗi dài được rút gọn (`… N more item(s)`, `… N more line(s)`).
