Get all SIM cards
Changed onGet all SIM cards belonging to the user that match the given filters.
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/sim_cards
- Auth: HTTP bearer
Query parameters
Consolidated filter parameter for SIM cards (deepObject style). Originally: filter[iccid], filter[msisdn], filter[status], filter[tags]
{
"iccid": "89310410106543789301",
"msisdn": "+13109976224",
"tags": [
"personal",
"customers",
"active-customers"
]
}Consolidated pagination parameter (deepObject style). Originally: page[number], page[size]
It includes the associated SIM card group object in the response when present.
A valid SIM card group ID.
Sorts SIM cards by the given field. Defaults to ascending order unless field is prefixed with a minus sign.
Response
Successful response
Example response
{
"data": [
{
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "sim_card",
"status": {
"value": "enabled",
"reason": "The SIM card is active, ready to connect to networks and consume data."
},
"type": "physical",
"iccid": "89310410106543789301",
"msisdn": "+13109976224",
"sim_card_group_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"tags": [
"personal",
"customers",
"active-customers"
],
"data_limit": {
"amount": "2048.0",
"unit": "MB"
},
"current_billing_period_consumed_data": {
"amount": "2049.0",
"unit": "MB"
},
"actions_in_progress": true,
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z",
"esim_installation_status": "released",
"version": "4.3",
"resources_with_in_progress_actions": [],
"authorized_imeis": [
"106516771852751",
"534051870479563",
"508821468377961"
]
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}Changes
- breaking
the
//response's property type changed fromintegertostring, and format fromint32to no format for status - info
added the optional property
//to the response with the status
- breaking
- breaking
the
//response's property type changed fromstringtointeger, and format from no format toint32for status
- breaking