github.com/twilio/twilio-go@v1.20.1/rest/conversations/v1/docs/ConfigurationApi.md (about) 1 # ConfigurationApi 2 3 All URIs are relative to *https://conversations.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**FetchConfiguration**](ConfigurationApi.md#FetchConfiguration) | **Get** /v1/Configuration | 8 [**UpdateConfiguration**](ConfigurationApi.md#UpdateConfiguration) | **Post** /v1/Configuration | 9 10 11 12 ## FetchConfiguration 13 14 > ConversationsV1Configuration FetchConfiguration(ctx, ) 15 16 17 18 Fetch the global configuration of conversations on your account 19 20 ### Path Parameters 21 22 This endpoint does not need any path parameter. 23 24 ### Other Parameters 25 26 Other parameters are passed through a pointer to a FetchConfigurationParams struct 27 28 29 ### Return type 30 31 [**ConversationsV1Configuration**](ConversationsV1Configuration.md) 32 33 ### Authorization 34 35 [accountSid_authToken](../README.md#accountSid_authToken) 36 37 ### HTTP request headers 38 39 - **Content-Type**: Not defined 40 - **Accept**: application/json 41 42 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 43 [[Back to Model list]](../README.md#documentation-for-models) 44 [[Back to README]](../README.md) 45 46 47 ## UpdateConfiguration 48 49 > ConversationsV1Configuration UpdateConfiguration(ctx, optional) 50 51 52 53 Update the global configuration of conversations on your account 54 55 ### Path Parameters 56 57 This endpoint does not need any path parameter. 58 59 ### Other Parameters 60 61 Other parameters are passed through a pointer to a UpdateConfigurationParams struct 62 63 64 Name | Type | Description 65 ------------- | ------------- | ------------- 66 **DefaultChatServiceSid** | **string** | The SID of the default [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) to use when creating a conversation. 67 **DefaultMessagingServiceSid** | **string** | The SID of the default [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to use when creating a conversation. 68 **DefaultInactiveTimer** | **string** | Default ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute. 69 **DefaultClosedTimer** | **string** | Default ISO8601 duration when conversation will be switched to `closed` state. Minimum value for this timer is 10 minutes. 70 71 ### Return type 72 73 [**ConversationsV1Configuration**](ConversationsV1Configuration.md) 74 75 ### Authorization 76 77 [accountSid_authToken](../README.md#accountSid_authToken) 78 79 ### HTTP request headers 80 81 - **Content-Type**: application/x-www-form-urlencoded 82 - **Accept**: application/json 83 84 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 85 [[Back to Model list]](../README.md#documentation-for-models) 86 [[Back to README]](../README.md) 87