---
title: "Return a list of phone numbers for a user."
method: GET
path: "/v1/voice-agents/phone-number/list"
---

# Return a list of phone numbers for a user.

`GET /v1/voice-agents/phone-number/list`

## Query parameters

- `voiceAgentId` string — Optional UUID of the voice agent to filter associated Twilio numbers.
- `skip` string — Page number for pagination. Defaults to '1'.
- `take` string — Number of items to take for pagination. Defaults to '10'.
- `provider` 'TWILIO' | 'SIP' — The type of the phone numbers provider to filter upon.

## Response `200`

Successful response

- ListUserPhoneNumbersResponse
  - `success` boolean
  - `message` string
  - `data` PhoneNumberRecord[]
    - `id` string
    - `number` string
    - `label` string
    - `type` 'TWILIO' | 'SIP'
    - `userId` string
    - `sipInboundConfigs` object
      - `originationUri` 'sip:sip.eu.tryhamsa.com:5060;transport=tcp'
    - `sipOutboundConfigs` object
      - `address` string
      - `transportType` 'TCP' | 'UDP'
      - `customHeaders` object
    - `voiceAgentId` string, nullable
    - `voiceAgent` object
      - `id` string
      - `name` string
    - `createdAt` string
    - `updatedAt` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Server Side Error

---

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