github.com/twilio/twilio-go@v1.20.1/rest/conversations/v1/docs/ConfigurationWebhooksApi.md (about) 1 # ConfigurationWebhooksApi 2 3 All URIs are relative to *https://conversations.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**FetchConfigurationWebhook**](ConfigurationWebhooksApi.md#FetchConfigurationWebhook) | **Get** /v1/Configuration/Webhooks | 8 [**UpdateConfigurationWebhook**](ConfigurationWebhooksApi.md#UpdateConfigurationWebhook) | **Post** /v1/Configuration/Webhooks | 9 10 11 12 ## FetchConfigurationWebhook 13 14 > ConversationsV1ConfigurationWebhook FetchConfigurationWebhook(ctx, ) 15 16 17 18 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 FetchConfigurationWebhookParams struct 27 28 29 ### Return type 30 31 [**ConversationsV1ConfigurationWebhook**](ConversationsV1ConfigurationWebhook.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 ## UpdateConfigurationWebhook 48 49 > ConversationsV1ConfigurationWebhook UpdateConfigurationWebhook(ctx, optional) 50 51 52 53 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 UpdateConfigurationWebhookParams struct 62 63 64 Name | Type | Description 65 ------------- | ------------- | ------------- 66 **Method** | **string** | The HTTP method to be used when sending a webhook request. 67 **Filters** | **[]string** | The list of webhook event triggers that are enabled for this Service: `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`, `onConversationUpdated`, `onConversationRemoved`, `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved` 68 **PreWebhookUrl** | **string** | The absolute url the pre-event webhook request should be sent to. 69 **PostWebhookUrl** | **string** | The absolute url the post-event webhook request should be sent to. 70 **Target** | **string** | 71 72 ### Return type 73 74 [**ConversationsV1ConfigurationWebhook**](ConversationsV1ConfigurationWebhook.md) 75 76 ### Authorization 77 78 [accountSid_authToken](../README.md#accountSid_authToken) 79 80 ### HTTP request headers 81 82 - **Content-Type**: application/x-www-form-urlencoded 83 - **Accept**: application/json 84 85 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 86 [[Back to Model list]](../README.md#documentation-for-models) 87 [[Back to README]](../README.md) 88