Skip to main content

List SIM card pools

GET 
/sim_card_pools

This API allows listing a paginated collection of SIM Card Pools . 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[name] string

    Possible values: [sim_card_pool, foobar]

    Filter by pool name.

Responses

200: Successful Response

default: Unexpected error

Request samples


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

Response samples


{
"data": [
{
"matching_id": "QR-G-K9-2N7-JHRTNX",
"name": "sim card pool",
"description": "sim card pool description",
"activation_code": "LPA:1$rsp.truphone.com$QR-G-K9-7NG-1H9FLVT",
"invalid_at": "2018-02-02T22:25:27.521Z",
"organization_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"user_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
}
}