Skip to main content

List SIM card group actions

GET 
/sim_card_group_actions

This API allows listing a paginated collection a SIM card group actions. It allows to explore a collection of existing asynchronous operation using specific filters.

Request

Query Parameters

    page[number] integer

    Possible values: >= 1

    Default value: 1

    The page number to load.

    page[size] integer

    Possible values: >= 1 and <= 250

    Default value: 20

    The size of the page.

    filter[sim_card_group_id] uuid

    A valid SIM card group ID.

    filter[status] string

    Possible values: [in-progress, completed, failed]

    Filter by a specific status of the resource's lifecycle.

    filter[type] string

    Possible values: [set_private_wireless_gateway, remove_private_wireless_gateway]

    Filter by action type.

Responses

200: Successful Response

401: Unauthorized

default: Unexpected error

Request samples


curl -L 'https://api.telnyx.com/v2/sim_card_group_actions' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"data": [
{
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "sim_card_group_action",
"sim_card_group_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"type": "set_private_wireless_gateway",
"status": "in-progress",
"settings": {
"private_wireless_gateway_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58"
},
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z"
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}