Skip to main content

Get all Private Wireless Gateways

GET 
/private_wireless_gateways

Get all Private Wireless Gateways belonging to the user.

Request

Query Parameters

    page[number] integer

    Possible values: >= 1

    Default value: 1

    The page number to load.

    page[size] integer

    Possible values: >= 1 and <= 250

    Default value: 20

    The size of the page.

    filter[name] string

    The name of the Private Wireless Gateway.

    Example: my private gateway
    filter[ip_range] string

    The IP address range of the Private Wireless Gateway.

    Example: 192.168.0.0/24
    filter[region_code] string

    The name of the region where the Private Wireless Gateway is deployed.

    Example: ashburn-va
    filter[created_at] string

    Private Wireless Gateway resource creation date.

    Example: 2018-02-02T22:25:27.521Z
    filter[updated_at] string

    When the Private Wireless Gateway was last updated.

    Example: 2018-02-02T22:25:27.521Z

Responses

200: Successful Response

401: Unauthorized

default: Unexpected error

Request samples


curl -L 'https://api.telnyx.com/v2/private_wireless_gateways' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"data": [
{
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"network_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "private_wireless_gateway",
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z",
"name": "My private wireless gateway",
"region_code": "ashburn-va",
"status": {
"value": "provisioned",
"error_description": null,
"error_code": null
},
"ip_range": "100.64.1.0/24",
"assigned_resources": [
{
"record_type": "sim_card_group",
"count": 1
}
]
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}