---
title: "List routes"
method: GET
path: "/routes"
tags: ["Route"]
---

# List routes

`GET /routes`

Returns a list of routes for the given customer with pagination.

## Query parameters

- `page_size` integer
- `page_token` string
- `customer_id` string

## Response `200`

A list of routes.

- 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` RouteManagerRoute[]
    - `id` string, uuid — The unique identifier of the route. Returned from the `POST /routes` or `GET /routes` response.
    - `customer_id` string, uuid — The unique identifier of the customer who owns this route. Returned from the `GET /customers` response.
    - `name` string — The name of the route.
    - `detail` string — The details about the route.
    - `provider_id` string, uuid — The unique identifier of the provider used for this route. Returned from the `GET /providers` response.
    - `priority` integer — The priority of the route, used for routing decisions.
    - `target` string — The target destination for the route (e.g., country code or 'all').
    - `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/revisions/79e779080bcc/schema)
