SIM Cards

Request bulk enabling voice on SIM cards.

Changed on

This API triggers an asynchronous operation to enable voice on SIM cards belonging to a specified SIM Card Group.<br/> For each SIM Card a SIM Card Action will be generated. The status of the SIM Card Actions can be followed through the List SIM Card Action API.

The overall status of the Bulk SIM Card Action can be followed through the List Bulk SIM Card Action API.

post/sim_cards/actions/bulk_enable_voice

Request

  • Base URL: https://api.telnyx.com/v2
  • URL: https://api.telnyx.com/v2/sim_cards/actions/bulk_enable_voice
  • Auth: HTTP bearer

Request body

sim_card_group_idstring required
connection_idstring

The identifier of the Mobile Voice Connection to associate with the SIM cards. The connection must be owned by the same user and of type <code>mobile_voice</code>. If omitted, voice is enabled without a connection association.

Example request

{
  "sim_card_group_id": "6b14e151-8493-4fa1-8664-1cc4e6d14158",
  "connection_id": "123456789"
}

Response

Bulk action accepted. Poll GET /bulk_sim_card_actions/{id} with the returned bulk action id to track progress.

Example response

{
  "data": {
    "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
    "record_type": "bulk_sim_card_action",
    "action_type": "bulk_set_public_ips",
    "settings": {},
    "created_at": "2018-02-02T22:25:27.521Z",
    "updated_at": "2018-02-02T22:25:27.521Z"
  }
}

Changes

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • breaking

      the // response's property type changed from string to integer, and format from no format to int32 for status

    • breaking

      the // response's property type changed from string to integer, and format from no format to int32 for status