github.com/twilio/twilio-go@v1.20.1/rest/bulkexports/v1/docs/ExportsConfigurationApi.md (about) 1 # ExportsConfigurationApi 2 3 All URIs are relative to *https://bulkexports.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**FetchExportConfiguration**](ExportsConfigurationApi.md#FetchExportConfiguration) | **Get** /v1/Exports/{ResourceType}/Configuration | 8 [**UpdateExportConfiguration**](ExportsConfigurationApi.md#UpdateExportConfiguration) | **Post** /v1/Exports/{ResourceType}/Configuration | 9 10 11 12 ## FetchExportConfiguration 13 14 > BulkexportsV1ExportConfiguration FetchExportConfiguration(ctx, ResourceType) 15 16 17 18 Fetch a specific Export Configuration. 19 20 ### Path Parameters 21 22 23 Name | Type | Description 24 ------------- | ------------- | ------------- 25 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 26 **ResourceType** | **string** | The type of communication – Messages, Calls, Conferences, and Participants 27 28 ### Other Parameters 29 30 Other parameters are passed through a pointer to a FetchExportConfigurationParams struct 31 32 33 Name | Type | Description 34 ------------- | ------------- | ------------- 35 36 ### Return type 37 38 [**BulkexportsV1ExportConfiguration**](BulkexportsV1ExportConfiguration.md) 39 40 ### Authorization 41 42 [accountSid_authToken](../README.md#accountSid_authToken) 43 44 ### HTTP request headers 45 46 - **Content-Type**: Not defined 47 - **Accept**: application/json 48 49 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 50 [[Back to Model list]](../README.md#documentation-for-models) 51 [[Back to README]](../README.md) 52 53 54 ## UpdateExportConfiguration 55 56 > BulkexportsV1ExportConfiguration UpdateExportConfiguration(ctx, ResourceTypeoptional) 57 58 59 60 Update a specific Export Configuration. 61 62 ### Path Parameters 63 64 65 Name | Type | Description 66 ------------- | ------------- | ------------- 67 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 68 **ResourceType** | **string** | The type of communication – Messages, Calls, Conferences, and Participants 69 70 ### Other Parameters 71 72 Other parameters are passed through a pointer to a UpdateExportConfigurationParams struct 73 74 75 Name | Type | Description 76 ------------- | ------------- | ------------- 77 **Enabled** | **bool** | If true, Twilio will automatically generate every day's file when the day is over. 78 **WebhookUrl** | **string** | Stores the URL destination for the method specified in webhook_method. 79 **WebhookMethod** | **string** | Sets whether Twilio should call a webhook URL when the automatic generation is complete, using GET or POST. The actual destination is set in the webhook_url 80 81 ### Return type 82 83 [**BulkexportsV1ExportConfiguration**](BulkexportsV1ExportConfiguration.md) 84 85 ### Authorization 86 87 [accountSid_authToken](../README.md#accountSid_authToken) 88 89 ### HTTP request headers 90 91 - **Content-Type**: application/x-www-form-urlencoded 92 - **Accept**: application/json 93 94 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 95 [[Back to Model list]](../README.md#documentation-for-models) 96 [[Back to README]](../README.md) 97