# GET /v1/convai/v2/phone-numbers (ElevenLabs API)
Base URL: https://api.elevenlabs.io
Auth: xi-api-key: <ELEVENLABS_API_KEY>
Last verified: 2026-10-20

> List Phone Numbers Page

## Critical Gotchas
* Authentication uses the non-standard `xi-api-key` header, not `Authorization: Bearer`. Sending a Bearer token returns HTTP 401.
* Text-to-speech responses are raw binary audio, not JSON. Write the body to a file (`--output speech.mp3`) rather than parsing it.

## cURL
curl -X GET 'https://api.elevenlabs.io/v1/convai/v2/phone-numbers?page_size=100&search=example-search&label=example-label&phone_number=example-phone-number&provider=twilio&supports_outbound=true&agent_id=agent-id&branch_id=branch-id&sort_by=label&sort_direction=asc&cursor=example-cursor' \
  -H "xi-api-key: $ELEVENLABS_API_KEY"

## Parameters
| Name | In | Type | Required | Description |
| :--- | :--- | :--- | :--- | :--- |
| page_size | query | integer | No | Number of phone numbers per page |
| search | query | string | No | Filter by phone number ID, label, or... |
| label | query | string | No | Filter by label. Matching is a case-i... |
Other params: phone_number, provider, supports_outbound, agent_id, branch_id, sort_by, sort_direction, cursor

## Response (200 OK)
{"phone_numbers":[{}],"next_cursor":"string"}

---
Need an API key? Get one at https://elevenlabs.io/app/sign-up