Skip to main content
GET
/
wireless_blocklist_values
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});

const wirelessBlocklistValues = await client.wirelessBlocklistValues.list({ type: 'country' });

console.log(wirelessBlocklistValues.data);
{
  "data": [
    {
      "code": "US",
      "name": "United States of America"
    }
  ],
  "meta": {
    "total_pages": 3,
    "page_number": 2,
    "total_results": 55,
    "page_size": 25
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

type
enum<string>
required

The Wireless Blocklist type for which to list possible values (e.g., country, mcc, plmn).

Available options:
country,
mcc,
plmn
Example:

"country"

Response

A list of possible wireless blocklist values

data
Country · object
meta
object