github.com/twilio/twilio-go@v1.20.1/rest/wireless/v1/docs/SimsDataSessionsApi.md (about) 1 # SimsDataSessionsApi 2 3 All URIs are relative to *https://wireless.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**ListDataSession**](SimsDataSessionsApi.md#ListDataSession) | **Get** /v1/Sims/{SimSid}/DataSessions | 8 9 10 11 ## ListDataSession 12 13 > []WirelessV1DataSession ListDataSession(ctx, SimSidoptional) 14 15 16 17 18 19 ### Path Parameters 20 21 22 Name | Type | Description 23 ------------- | ------------- | ------------- 24 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 25 **SimSid** | **string** | The SID of the [Sim resource](https://www.twilio.com/docs/iot/wireless/api/sim-resource) with the Data Sessions to read. 26 27 ### Other Parameters 28 29 Other parameters are passed through a pointer to a ListDataSessionParams struct 30 31 32 Name | Type | Description 33 ------------- | ------------- | ------------- 34 **PageSize** | **int** | How many resources to return in each list page. The default is 50, and the maximum is 1000. 35 **Limit** | **int** | Max number of records to return. 36 37 ### Return type 38 39 [**[]WirelessV1DataSession**](WirelessV1DataSession.md) 40 41 ### Authorization 42 43 [accountSid_authToken](../README.md#accountSid_authToken) 44 45 ### HTTP request headers 46 47 - **Content-Type**: Not defined 48 - **Accept**: application/json 49 50 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 51 [[Back to Model list]](../README.md#documentation-for-models) 52 [[Back to README]](../README.md) 53