Path parameters
-
The SID of the Sim resource with the Data Sessions to read.
Query parameters
-
PageSize integer
How many resources to return in each list page. The default is 50, and the maximum is 1000.
Minimum value is
1
, maximum value is1000
.
GET /v1/Sims/{SimSid}/DataSessions
curl \
-X GET https://wireless.twilio.com/v1/Sims/{SimSid}/DataSessions \
--user "username:password"
Response examples (200)
{
"data_sessions": [
{
"account_sid": "string",
"cell_id": "string",
"end": "2023-05-04T09:42:00+00:00",
"imei": "string",
"last_updated": "2023-05-04T09:42:00+00:00",
"operator_country": "string",
"operator_mcc": "string",
"operator_mnc": "string",
"operator_name": "string",
"packets_downloaded": 42,
"packets_uploaded": 42,
"radio_link": "string",
"sid": "string",
"sim_sid": "string",
"start": "2023-05-04T09:42:00+00:00"
}
],
"meta": {
"first_page_url": "https://example.com",
"key": "string",
"next_page_url": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_url": "https://example.com",
"url": "https://example.com"
}
}
Response examples (200)
{
"data_sessions": [
{
"account_sid": "string",
"cell_id": "string",
"end": "2024-05-04T09:42:00+00:00",
"imei": "string",
"last_updated": "2024-05-04T09:42:00+00:00",
"operator_country": "string",
"operator_mcc": "string",
"operator_mnc": "string",
"operator_name": "string",
"packets_downloaded": 42,
"packets_uploaded": 42,
"radio_link": "string",
"sid": "string",
"sim_sid": "string",
"start": "2024-05-04T09:42:00+00:00"
}
],
"meta": {
"first_page_url": "https://example.com",
"key": "string",
"next_page_url": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_url": "https://example.com",
"url": "https://example.com"
}
}