Retrieve a list of Network Access Profile resource's Network resource.

GET /v1/NetworkAccessProfiles/{NetworkAccessProfileSid}/Networks

Mobile operator networks which Network Access Profiles allow access to

Retrieve a list of Network Access Profile resource's Network resource.

Path parameters

  • NetworkAccessProfileSid string Required

    The unique string that identifies the Network Access Profile resource.

Query parameters

  • PageSize integer(int64)

    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.

  • Page integer

    The page index. This value is simply for client state.

    Minimum value is 0.

  • PageToken string

    The page token. This is provided by the API.

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

    Hide response attributes Show response attributes object
    • networks array[object]
      Hide networks attributes Show networks attributes object
      • sid string | null

        The unique string that identifies the Network resource.

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

      • network_access_profile_sid string | null

        The unique string that identifies the Network resource's Network Access Profile resource.

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

      • friendly_name string | null

        A human readable identifier of the Network this resource refers to.

      • iso_country string | null

        The ISO country code of the Network resource.

      • identifiers array | null

        Array of objects identifying the MCC-MNCs that are included in the Network resource.

      • url string(uri) | null

        The absolute URL of the Network resource.

    • meta object
      Hide meta attributes Show meta attributes object
      • first_page_url string(uri)
      • key string
      • next_page_url string(uri) | null
      • page integer
      • page_size integer
      • previous_page_url string(uri) | null
      • url string(uri)
GET /v1/NetworkAccessProfiles/{NetworkAccessProfileSid}/Networks
curl \
 --request GET 'https://supersim.twilio.com/v1/NetworkAccessProfiles/{NetworkAccessProfileSid}/Networks' \
 --user "username:password"
Response examples (200)
{
  "meta": {
    "key": "networks",
    "url": "https://supersim.twilio.com/v1/NetworkAccessProfiles/HAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Networks?PageSize=50&Page=0",
    "page": 0,
    "page_size": 50,
    "next_page_url": null,
    "first_page_url": "https://supersim.twilio.com/v1/NetworkAccessProfiles/HAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Networks?PageSize=50&Page=0",
    "previous_page_url": null
  },
  "networks": [
    {
      "sid": "HWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "url": "https://supersim.twilio.com/v1/NetworkAccessProfiles/HAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Networks/HWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "identifiers": [
        {
          "mcc": "310",
          "mnc": "410"
        }
      ],
      "iso_country": "us",
      "friendly_name": "AT&T",
      "network_access_profile_sid": "HAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
    }
  ]
}