GET
/
v1
/
convai
/
phone-numbers
/
from elevenlabs import ElevenLabs

client = ElevenLabs(
    api_key="YOUR_API_KEY",
)
client.conversational_ai.get_phone_numbers()
[
  {
    "phone_number": "<string>",
    "provider": "twilio",
    "label": "<string>",
    "phone_number_id": "<string>",
    "assigned_agent": {
      "agent_id": "<string>",
      "agent_name": "<string>"
    }
  }
]

Headers

xi-api-key
string

Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.

Response

200
application/json

Successful Response

The response is of type GetPhoneNumberResponseModel · object[].