Retrieve a list of Extensions for the Assigned Add-on
TODO: Resource-level docs
Retrieve a list of Extensions for the Assigned Add-on.
Path parameters
-
The SID of the Account that created the resources to read.
-
The SID of the Phone Number to which the Add-on is assigned.
-
The SID that uniquely identifies the assigned Add-on installation.
Query parameters
-
PageSize integer
How many resources to return in each list page. The default is 50, and the maximum is 1000.
Minimum value is
1
, maximum value is1000
.
GET /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns/{AssignedAddOnSid}/Extensions.json
curl \
-X GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns/{AssignedAddOnSid}/Extensions.json \
--user "username:password"
Response examples (200)
{
"end": 42,
"extensions": [
{
"account_sid": "string",
"assigned_add_on_sid": "string",
"enabled": true,
"friendly_name": "string",
"product_name": "string",
"resource_sid": "string",
"sid": "string",
"unique_name": "string",
"uri": "https://example.com"
}
],
"first_page_uri": "https://example.com",
"next_page_uri": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_uri": "https://example.com",
"start": 42,
"uri": "https://example.com"
}
Response examples (200)
{
"end": 42,
"extensions": [
{
"account_sid": "string",
"assigned_add_on_sid": "string",
"enabled": true,
"friendly_name": "string",
"product_name": "string",
"resource_sid": "string",
"sid": "string",
"unique_name": "string",
"uri": "https://example.com"
}
],
"first_page_uri": "https://example.com",
"next_page_uri": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_uri": "https://example.com",
"start": 42,
"uri": "https://example.com"
}