Skip to main content
GET
/
sim_card_groups
/
{id}
JavaScript
import Telnyx from 'telnyx';

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

const simCardGroup = await client.simCardGroups.retrieve('6a09cdc3-8948-47f0-aa62-74ac943d6c58');

console.log(simCardGroup.data);
{
  "data": {
    "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
    "record_type": "sim_card_group",
    "default": true,
    "name": "My Test Group",
    "data_limit": {
      "amount": "2048.1",
      "unit": "MB"
    },
    "consumed_data": {
      "unit": "MB",
      "amount": "2048.1"
    },
    "private_wireless_gateway_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
    "wireless_blocklist_id": "a13bc415-7966-43bf-90d4-63cc76275289",
    "created_at": "2018-02-02T22:25:27.521Z",
    "updated_at": "2018-02-02T22:25:27.521Z"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Identifies the SIM group.

Example:

"6a09cdc3-8948-47f0-aa62-74ac943d6c58"

Query Parameters

include_iccids
boolean
default:false

It includes a list of associated ICCIDs.

Example:

true

Response

Successful Response

data
object