List Phone Numbers Page

Retrieve a page of Phone Numbers

Header

xi-api-keystringOptional

Abfrageparameter

page_sizeintegerOptional1-1000Standardwert ist 100
Number of phone numbers per page
searchstringOptional<=100 characters

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.

labelstringOptional<=100 characters

Filter by label. Matching is a case-insensitive substring.

phone_numberstringOptional<=100 characters
Filter by phone number
providerenumOptional
Filter by telephony provider
Erlaubte Werte:
supports_outboundbooleanOptional
Filter by whether the phone number can place outbound calls
agent_idstringOptional
Filter by assigned agent ID
branch_idstringOptional
Filter by assigned branch ID
sort_byenumOptional
The field to sort the results by
Erlaubte Werte:
sort_directionenumOptional
The direction to sort the results
Erlaubte Werte:
cursorstringOptional
Used for fetching next page. Cursor is returned in the response.

Antwort

Successful Response
phone_numberslist of objects
The phone numbers on this page
next_cursorstringOptional

Pass this value as cursor to fetch the next page. Null when there are no more results.

has_morebooleanOptionalStandardwert ist false
Whether there are more results available

Fehler

422
Phone Numbers List V2request Unprocessable Entity Error