github.com/twilio/twilio-go@v1.20.1/rest/api/v2010/docs/AccountsCallsNotificationsApi.md (about) 1 # AccountsCallsNotificationsApi 2 3 All URIs are relative to *https://api.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**FetchCallNotification**](AccountsCallsNotificationsApi.md#FetchCallNotification) | **Get** /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Notifications/{Sid}.json | 8 [**ListCallNotification**](AccountsCallsNotificationsApi.md#ListCallNotification) | **Get** /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Notifications.json | 9 10 11 12 ## FetchCallNotification 13 14 > ApiV2010CallNotificationInstance FetchCallNotification(ctx, CallSidSidoptional) 15 16 17 18 19 20 ### Path Parameters 21 22 23 Name | Type | Description 24 ------------- | ------------- | ------------- 25 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 26 **CallSid** | **string** | The [Call](https://www.twilio.com/docs/voice/api/call-resource) SID of the Call Notification resource to fetch. 27 **Sid** | **string** | The Twilio-provided string that uniquely identifies the Call Notification resource to fetch. 28 29 ### Other Parameters 30 31 Other parameters are passed through a pointer to a FetchCallNotificationParams struct 32 33 34 Name | Type | Description 35 ------------- | ------------- | ------------- 36 **PathAccountSid** | **string** | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Call Notification resource to fetch. 37 38 ### Return type 39 40 [**ApiV2010CallNotificationInstance**](ApiV2010CallNotificationInstance.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 55 56 ## ListCallNotification 57 58 > []ApiV2010CallNotification ListCallNotification(ctx, CallSidoptional) 59 60 61 62 63 64 ### Path Parameters 65 66 67 Name | Type | Description 68 ------------- | ------------- | ------------- 69 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 70 **CallSid** | **string** | The [Call](https://www.twilio.com/docs/voice/api/call-resource) SID of the Call Notification resources to read. 71 72 ### Other Parameters 73 74 Other parameters are passed through a pointer to a ListCallNotificationParams struct 75 76 77 Name | Type | Description 78 ------------- | ------------- | ------------- 79 **PathAccountSid** | **string** | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Call Notification resources to read. 80 **Log** | **int** | Only read notifications of the specified log level. Can be: `0` to read only ERROR notifications or `1` to read only WARNING notifications. By default, all notifications are read. 81 **MessageDate** | **string** | Only show notifications for the specified date, formatted as `YYYY-MM-DD`. You can also specify an inequality, such as `<=YYYY-MM-DD` for messages logged at or before midnight on a date, or `>=YYYY-MM-DD` for messages logged at or after midnight on a date. 82 **MessageDateBefore** | **string** | Only show notifications for the specified date, formatted as `YYYY-MM-DD`. You can also specify an inequality, such as `<=YYYY-MM-DD` for messages logged at or before midnight on a date, or `>=YYYY-MM-DD` for messages logged at or after midnight on a date. 83 **MessageDateAfter** | **string** | Only show notifications for the specified date, formatted as `YYYY-MM-DD`. You can also specify an inequality, such as `<=YYYY-MM-DD` for messages logged at or before midnight on a date, or `>=YYYY-MM-DD` for messages logged at or after midnight on a date. 84 **PageSize** | **int** | How many resources to return in each list page. The default is 50, and the maximum is 1000. 85 **Limit** | **int** | Max number of records to return. 86 87 ### Return type 88 89 [**[]ApiV2010CallNotification**](ApiV2010CallNotification.md) 90 91 ### Authorization 92 93 [accountSid_authToken](../README.md#accountSid_authToken) 94 95 ### HTTP request headers 96 97 - **Content-Type**: Not defined 98 - **Accept**: application/json 99 100 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 101 [[Back to Model list]](../README.md#documentation-for-models) 102 [[Back to README]](../README.md) 103