import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.wireless.retrieveRegions({ product: 'public_ips' });
console.log(response.data);{
"data": [
{
"code": "dc2",
"name": "Washington DC, US",
"inserted_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}Retrieve all wireless regions for the given product.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.wireless.retrieveRegions({ product: 'public_ips' });
console.log(response.data);{
"data": [
{
"code": "dc2",
"name": "Washington DC, US",
"inserted_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The product for which to list regions (e.g., 'public_ips', 'private_wireless_gateways').
"public_ips"
A list of wireless regions
Show child attributes
Was this page helpful?