GET/2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds.json

List outgoing caller IDs for an account

Lists outgoing caller IDs belonging to an account. Filter the results by PhoneNumber or FriendlyName, and use the page parameters to retrieve results across multiple pages. PageSize defaults to 50 and can be set up to 1000.

6 parameters
AccountSidstringrequired
The account SID whose outgoing caller IDs to list. Must be 34 characters and match the `AC` SID format.
PhoneNumberstringoptional
Filter results by phone number in phone-number format.
FriendlyNamestringoptional
Filter results by the friendly name that identifies the outgoing caller IDs.
PageSizeintegeroptional
Number of resources to return per page. Defaults to 50 when omitted; maximum 1000.
Pageintegeroptional
Zero-based page index for client-side pagination.
PageTokenstringoptional
Page token provided by the API for retrieving a page of results.

1 status code
200Returns a paginated response containing outgoing caller ID objects and page metadata, including page size, page index, and navigation URIs.
endintegeroptional
first_page_uristringoptional
next_page_uristringoptional
pageintegeroptional
page_sizeintegeroptional
previous_page_uristringoptional
startintegeroptional
uristringoptional
outgoing_caller_idsarray<object>optional

Error handling

The AccountSid path parameter must be a 34-character account SID beginning with AC. PageSize must be between 1 and 1000, and Page must be zero or greater. PhoneNumber must use phone-number format.