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