import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const mobileNetworkOperators = await client.mobileNetworkOperators.list();
console.log(mobileNetworkOperators.data);{
"data": [
{
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "mobile_network_operator",
"name": "AT&T Mobility (USACG)",
"tadig": "USACG",
"country_code": "US",
"mcc": "310",
"mnc": "410",
"network_preferences_enabled": true
}
],
"meta": {
"page_number": 2,
"page_size": 25,
"total_pages": 3,
"total_results": 55
}
}Telnyx has a set of GSM mobile operators partners that are available through our mobile network roaming. This resource is entirely managed by Telnyx and may change over time. That means that this resource won’t allow any write operations for it. Still, it’s available so it can be used as a support resource that can be related to other resources or become a configuration option.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const mobileNetworkOperators = await client.mobileNetworkOperators.list();
console.log(mobileNetworkOperators.data);{
"data": [
{
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "mobile_network_operator",
"name": "AT&T Mobility (USACG)",
"tadig": "USACG",
"country_code": "US",
"mcc": "310",
"mnc": "410",
"network_preferences_enabled": true
}
],
"meta": {
"page_number": 2,
"page_size": 25,
"total_pages": 3,
"total_results": 55
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Consolidated filter parameter for mobile network operators (deepObject style). Originally: filter[name][starts_with], filter[name][contains], filter[name][ends_with], filter[country_code], filter[mcc], filter[mnc], filter[tadig], filter[network_preferences_enabled]
Show child attributes
Filter by exact country_code.
"US"
Filter by exact MCC.
"310"
Filter by exact MNC.
"410"
Filter by exact TADIG.
"USACG"
Filter by network_preferences_enabled.
true
Successful Response
Show child attributes
Identifies the resource.
"6a09cdc3-8948-47f0-aa62-74ac943d6c58"
Identifies the type of the resource.
"mobile_network_operator"
The network operator name.
"AT&T Mobility (USACG)"
TADIG stands for Transferred Account Data Interchange Group. The TADIG code is a unique identifier for network operators in GSM mobile networks.
"USACG"
The mobile operator two-character (ISO 3166-1 alpha-2) origin country code.
"US"
MCC stands for Mobile Country Code. It's a three decimal digit that identifies a country.<br/><br/> This code is commonly seen joined with a Mobile Network Code (MNC) in a tuple that allows identifying a carrier known as PLMN (Public Land Mobile Network) code.
"310"
MNC stands for Mobile Network Code. It's a two to three decimal digits that identify a network.<br/><br/> This code is commonly seen joined with a Mobile Country Code (MCC) in a tuple that allows identifying a carrier known as PLMN (Public Land Mobile Network) code.
"410"
Indicate whether the mobile network operator can be set as preferred in the Network Preferences API.
true
Was this page helpful?