List Phone Numbers Page
Changed onRetrieve a page of Phone Numbers
Request
- Base URLhttps://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Number of phone numbers per page
Filter by phone number ID, label, or phone number. A phone number ID must match exactly; label and phone number matching is a case-insensitive substring.
Filter by label. Matching is a case-insensitive substring.
Filter by phone number
Filter by telephony provider
Filter by whether the phone number can place outbound calls
Filter by assigned agent ID
Filter by assigned branch ID
The field to sort the results by
The direction to sort the results
Used for fetching next page. Cursor is returned in the response.
Headers
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Response
Successful Response
Example response
{
"phone_numbers": [
{
"label": "Customer Support",
"phone_number": "+1234567890",
"phone_number_id": "phone_123",
"provider": "twilio"
}
]
}Changes
- info
endpoint added
- info