---
title: "Get a list of extensions"
method: GET
path: "/extensions"
tags: ["Extension"]
---

# Get a list of extensions

`GET /extensions`

Retrieves a list of extensions.

## Query parameters

- `page_size` integer
- `page_token` string

## Response `200`

A list of extensions.

- 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` RegistrarManagerExtension[]
    - `id` string, uuid — The unique identifier of the extension. Returned from the `POST /extensions` or `GET /extensions` response.
    - `customer_id` string, uuid — The unique identifier of the customer who owns this extension. Returned from the `GET /customers` response.
    - `name` string — Display name of the extension.
    - `detail` string — Detailed description of the extension.
    - `extension` string — The SIP extension number.
    - `domain_name` string — Domain name, same as the customer_id, used by Kamailio's INVITE validation
    - `username` string — Username, same as the Extension, used by Kamailio's INVITE validation
    - `password` string — The SIP password for authentication.
    - `direct_hash` string — The direct hash for direct access via SIP URI sip:<direct_hash>@sip.voipbin.net (the "direct." prefix is already included in the value, e.g. "direct.a1b2c3d4e5f6"). Returned from the resource's `direct_hash` field.
    - `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).
- `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)
