Retrieve a list of Extensions for the Assigned Add-on

GET /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns/{AssignedAddOnSid}/Extensions.json

TODO: Resource-level docs

Retrieve a list of Extensions for the Assigned Add-on.

Path parameters

  • AccountSid string Required

    The SID of the Account that created the resources to read.

  • ResourceSid string Required

    The SID of the Phone Number to which the Add-on is assigned.

  • AssignedAddOnSid string Required

    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 is 1000.

Responses

  • OK

    Hide response attributes Show response attributes object
    • end integer
    • extensions array[object]
      Hide extensions attributes Show extensions attributes array[object]
      • account_sid string | null

        The SID of the Account that created the resource

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

      • assigned_add_on_sid string | null

        The SID that uniquely identifies the assigned Add-on installation

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^XE[0-9a-fA-F]{32}$.

      • enabled boolean | null

        Whether the Extension will be invoked

      • friendly_name string | null

        The string that you assigned to describe the resource

      • product_name string | null

        A string that you assigned to describe the Product this Extension is used within

      • resource_sid string | null

        The SID of the Phone Number to which the Add-on is assigned

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^PN[0-9a-fA-F]{32}$.

      • sid string | null

        The unique string that identifies the resource

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^XF[0-9a-fA-F]{32}$.

      • unique_name string | null

        An application-defined string that uniquely identifies the resource

      • uri string(uri) | null

        The URI of the resource, relative to https://api.twilio.com

    • first_page_uri string(uri)
    • next_page_uri string(uri)
    • page integer
    • page_size integer
    • start integer
    • uri string(uri)
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"
}