Sign inGet Started

List operator networks

GET
/v1/billing/operator-networks
const networks = await bird.billingRates.operatorNetworks();
console.log(networks.data);
Reactie200
{
  "data": [
    {
      "mcc_mnc": "310016",
      "operator": "at-t",
      "name": "AT&T"
    }
  ]
}

Returns which operator each mobile network is grouped under, so the network rows of the SMS and MMS rate cards can be shown by operator. Each row has the network's mcc_mnc, the same as on the rate rows, the operator slug and the operator's display name, ordered by mcc_mnc. The list holds no prices and is the same for every caller. A network that is not listed belongs to no listed operator. Charging and the rates never depend on it. The whole list is returned in one response. Requires the rates permission in the workspace, or the organization's org:billing permission, with which the workspace can be left out. A request without a credential is served; a credential that does not authenticate returns 401, never the list.

Response Payload

data
array of object
verplicht
Onderliggende attributen tonen

Ga verder met de documentatie, handleidingen en voorbeelden voor dit onderwerp.