---
title: "List phone numbers"
method: GET
path: "/phone_numbers"
---

# List phone numbers

`GET /phone_numbers`

## Request

- Base URL: `https://api.vogent.ai/api`
- URL: `https://api.vogent.ai/api/phone_numbers`
- Auth: HTTP bearer

List phone numbers in your workspace.

## Query parameters

- `limit` integer
- `cursor` string

## Response `200`

Successful operation

- object
  - `data` PhoneNumber[], required
    - `id` string, required
    - `number` string, required: The number in e.164 format, or the SIP username, if the type is SIP_USERNAME.
    - `type` 'PSTN' | 'SIP_USERNAME', required
    - `agentId` string, nullable, required: The ID of the linked agent, if the phone number is linked to one.
  - `cursor` string, nullable, required: A cursor you can pass to fetch the next page. If no next page exists, the cursor will be null.

## Other responses

- `400`: Invalid input
- `422`: Validation exception

---

[API](https://skmtc.dev/vogent/apis/vogent-openapi-3-0.md) - [All operations](https://skmtc.dev/vogent/apis/vogent-openapi-3-0/llms.txt) - [OpenAPI document](https://skmtc.dev/vogent/apis/vogent-openapi-3-0/revisions/a5966cc364ef?raw)
