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

const client = new Telnyx({
  apiKey: 'My API Key',
});

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

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

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
  • Country · object[]
  • Mobile Country Code · object[]
  • Public land mobile network · object[]
meta
object