---
title: "Retrieve a list of trunks."
method: GET
path: "/trunks"
tags: ["Trunk"]
---

# Retrieve a list of trunks.

`GET /trunks`

Retrieves a paginated list of trunks.

## Query parameters

- `page_size` integer
- `page_token` string

## Response `200`

A list of trunks.

- object
  - `next_page_token` string — Cursor token for the next page of results. Pass this value as the page_token parameter in the next request.
  - `result` RegistrarManagerTrunk[]
    - `id` string, uuid — The unique identifier of the trunk. Returned from the `POST /trunks` or `GET /trunks` response.
    - `customer_id` string, uuid — The unique identifier of the customer who owns this trunk. Returned from the `GET /customers` response.
    - `name` string — Display name of the trunk.
    - `detail` string — Detailed description of the trunk.
    - `domain_name` string — The SIP domain for this trunk.
    - `auth_types` RegistrarManagerAuthType[] — List of authentication methods for this trunk.
    - `username` string — The SIP username for authentication.
    - `password` string — The SIP password for authentication.
    - `allowed_ips` string[] — List of IP addresses allowed for IP-based authentication.
    - `tm_create` string, date-time — The creation timestamp.
    - `tm_update` string, date-time — The last update timestamp.
    - `tm_delete` string, date-time — The deletion timestamp.

## Other responses

- `401` — Authentication required (UNAUTHENTICATED).
- `403` — Insufficient permission (PERMISSION_DENIED).
- `500` — Internal error (INTERNAL).

---

[API](https://skmtc.net/voipbin/apis/voipbin-api.md) · [All operations](https://skmtc.net/voipbin/apis/voipbin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/voipbin/voipbin-api/versions/79e779080bcc/schema)
