List Phone Numbers Page
Retrieve a page of Phone Numbers
Headers
xi-api-key
Query parameters
page_size
Number of phone numbers per page
search
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.
label
Filter by label. Matching is a case-insensitive substring.
phone_number
Filter by phone number
provider
Filter by telephony provider
Allowed values:
supports_outbound
Filter by whether the phone number can place outbound calls
agent_id
Filter by assigned agent ID
branch_id
Filter by assigned branch ID
sort_by
The field to sort the results by
Allowed values:
sort_direction
The direction to sort the results
Allowed values:
cursor
Used for fetching next page. Cursor is returned in the response.
Response
Successful Response
phone_numbers
The phone numbers on this page
next_cursor
Pass this value as cursor to fetch the next page. Null when there are no more results.
has_more
Whether there are more results available
Errors
422
Phone Numbers List V2request Unprocessable Entity Error