Get all SIM cards
GET/wireless/sim_cards
Returns a list of all your sim cards
Request
Query Parameters
page[number] number
Current page based on pagination settings.
page[size] number
Number of results to return per page based on pagination settings.
filter[sim_card_tags] string[]
A list of SIM card tags to filter on.
filter[sim_card_id] uuid
A valid SIM card ID.
filter[sim_card_iccid] string
A search string to partially match for the SIM card's ICCID.
filter[sim_card_group_id] uuid
A valid SIM card group ID.
filter[sim_card_group_name] string
A search string to partially match for the SIM card's group.
Responses
200: Successful response
- application/json
401: Authentication error
- application/json
403: Authorization error
- application/json
Request samples
curl -L 'https://api.telnyx.com/wireless/sim_cards' \
-H 'Accept: application/json'
Response samples
{
"data": [
{
"enabled": true,
"iccid": "string",
"id": "string",
"sim_card_group": {
"id": "string",
"data_allocation": "string",
"ingress_site_id": "string",
"egress_site_id": "string",
"created_at": "string",
"updated_at": "string"
},
"tags": [
"string"
],
"updated_at": "string"
}
],
"metadata": {
"total_pages": 13,
"total_results": 13,
"page_number": 3,
"page_size": 1
}
}
{
"errors": [
{
"code": "10001",
"title": "error title",
"detail": "additional detail about the error",
"pointer": "/pointer/to/field"
}
]
}
{
"errors": [
{
"code": "10001",
"title": "error title",
"detail": "additional detail about the error",
"pointer": "/pointer/to/field"
}
]
}