Sample - Twilio API
GET/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns.json

List assigned Add-on installations

Lists Add-on installations assigned to a specific incoming phone number. Use AccountSid and ResourceSid to select the account and phone number, then use pagination parameters to control the result page.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

5 parameters
AccountSidstringrequired
The account SID that created the assigned Add-on resources. Must be a 34-character SID matching the `AC` account SID format.
ResourceSidstringrequired
The SID of the incoming phone number to which the Add-ons are assigned. Must be a 34-character SID matching the `PN` phone number format.
PageSizeintegeroptional
The number of resources to return per page. Defaults to 50 when omitted and must be between 1 and 1000.
Pageintegeroptional
The page index used to maintain client-side pagination state. Must be zero or greater.
PageTokenstringoptional
The pagination token provided by the API for retrieving a specific result page.

1 status code
200Returns a paginated response containing assigned Add-on installations and page navigation metadata, including the current page, page size, and related page URIs.
endintegeroptional
first_page_uristringoptional
next_page_uristringoptional
pageintegeroptional
page_sizeintegeroptional
previous_page_uristringoptional
startintegeroptional
uristringoptional
assigned_add_onsarray<object>optional

Error handling

AccountSid must be a 34-character account SID beginning with AC, and ResourceSid must be a 34-character phone number SID beginning with PN. PageSize must be between 1 and 1000, while Page must be zero or greater.