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

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

const bulkSimCardActions = await client.bulkSimCardActions.list();

console.log(bulkSimCardActions.data);
{
  "data": [
    {
      "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
      "record_type": "bulk_sim_card_action",
      "action_type": "bulk_set_public_ips",
      "settings": {},
      "sim_card_actions_summary": [
        {
          "status": "in-progress",
          "count": 123
        }
      ],
      "created_at": "2018-02-02T22:25:27.521Z",
      "updated_at": "2018-02-02T22:25:27.521Z"
    }
  ],
  "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

page[number]
integer
default:1

The page number to load.

Required range: x >= 1
page[size]
integer
default:20

The size of the page.

Required range: 1 <= x <= 250
filter[action_type]
enum<string>

Filter by action type.

Available options:
bulk_set_public_ips
Example:

"bulk_set_public_ips"

Response

Successful Response

data
object[]
meta
object