github.com/twilio/twilio-go@v1.20.1/rest/proxy/v1/docs/ServicesSessionsInteractionsApi.md (about) 1 # ServicesSessionsInteractionsApi 2 3 All URIs are relative to *https://proxy.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**DeleteInteraction**](ServicesSessionsInteractionsApi.md#DeleteInteraction) | **Delete** /v1/Services/{ServiceSid}/Sessions/{SessionSid}/Interactions/{Sid} | 8 [**FetchInteraction**](ServicesSessionsInteractionsApi.md#FetchInteraction) | **Get** /v1/Services/{ServiceSid}/Sessions/{SessionSid}/Interactions/{Sid} | 9 [**ListInteraction**](ServicesSessionsInteractionsApi.md#ListInteraction) | **Get** /v1/Services/{ServiceSid}/Sessions/{SessionSid}/Interactions | 10 11 12 13 ## DeleteInteraction 14 15 > DeleteInteraction(ctx, ServiceSidSessionSidSid) 16 17 18 19 Delete a specific Interaction. 20 21 ### Path Parameters 22 23 24 Name | Type | Description 25 ------------- | ------------- | ------------- 26 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 27 **ServiceSid** | **string** | The SID of the parent [Service](https://www.twilio.com/docs/proxy/api/service) of the resource to delete. 28 **SessionSid** | **string** | The SID of the parent [Session](https://www.twilio.com/docs/proxy/api/session) of the resource to delete. 29 **Sid** | **string** | The Twilio-provided string that uniquely identifies the Interaction resource to delete. 30 31 ### Other Parameters 32 33 Other parameters are passed through a pointer to a DeleteInteractionParams struct 34 35 36 Name | Type | Description 37 ------------- | ------------- | ------------- 38 39 ### Return type 40 41 (empty response body) 42 43 ### Authorization 44 45 [accountSid_authToken](../README.md#accountSid_authToken) 46 47 ### HTTP request headers 48 49 - **Content-Type**: Not defined 50 - **Accept**: Not defined 51 52 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 53 [[Back to Model list]](../README.md#documentation-for-models) 54 [[Back to README]](../README.md) 55 56 57 ## FetchInteraction 58 59 > ProxyV1Interaction FetchInteraction(ctx, ServiceSidSessionSidSid) 60 61 62 63 Retrieve a list of Interactions for a given [Session](https://www.twilio.com/docs/proxy/api/session). 64 65 ### Path Parameters 66 67 68 Name | Type | Description 69 ------------- | ------------- | ------------- 70 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 71 **ServiceSid** | **string** | The SID of the parent [Service](https://www.twilio.com/docs/proxy/api/service) of the resource to fetch. 72 **SessionSid** | **string** | The SID of the parent [Session](https://www.twilio.com/docs/proxy/api/session) of the resource to fetch. 73 **Sid** | **string** | The Twilio-provided string that uniquely identifies the Interaction resource to fetch. 74 75 ### Other Parameters 76 77 Other parameters are passed through a pointer to a FetchInteractionParams struct 78 79 80 Name | Type | Description 81 ------------- | ------------- | ------------- 82 83 ### Return type 84 85 [**ProxyV1Interaction**](ProxyV1Interaction.md) 86 87 ### Authorization 88 89 [accountSid_authToken](../README.md#accountSid_authToken) 90 91 ### HTTP request headers 92 93 - **Content-Type**: Not defined 94 - **Accept**: application/json 95 96 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 97 [[Back to Model list]](../README.md#documentation-for-models) 98 [[Back to README]](../README.md) 99 100 101 ## ListInteraction 102 103 > []ProxyV1Interaction ListInteraction(ctx, ServiceSidSessionSidoptional) 104 105 106 107 Retrieve a list of all Interactions for a Session. A maximum of 100 records will be returned per page. 108 109 ### Path Parameters 110 111 112 Name | Type | Description 113 ------------- | ------------- | ------------- 114 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 115 **ServiceSid** | **string** | The SID of the parent [Service](https://www.twilio.com/docs/proxy/api/service) to read the resources from. 116 **SessionSid** | **string** | The SID of the parent [Session](https://www.twilio.com/docs/proxy/api/session) to read the resources from. 117 118 ### Other Parameters 119 120 Other parameters are passed through a pointer to a ListInteractionParams struct 121 122 123 Name | Type | Description 124 ------------- | ------------- | ------------- 125 **PageSize** | **int** | How many resources to return in each list page. The default is 50, and the maximum is 1000. 126 **Limit** | **int** | Max number of records to return. 127 128 ### Return type 129 130 [**[]ProxyV1Interaction**](ProxyV1Interaction.md) 131 132 ### Authorization 133 134 [accountSid_authToken](../README.md#accountSid_authToken) 135 136 ### HTTP request headers 137 138 - **Content-Type**: Not defined 139 - **Accept**: application/json 140 141 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 142 [[Back to Model list]](../README.md#documentation-for-models) 143 [[Back to README]](../README.md) 144