github.com/twilio/twilio-go@v1.20.1/rest/api/v2010/docs/AccountsIncomingPhoneNumbersAssignedAddOnsExtensionsApi.md (about) 1 # AccountsIncomingPhoneNumbersAssignedAddOnsExtensionsApi 2 3 All URIs are relative to *https://api.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**FetchIncomingPhoneNumberAssignedAddOnExtension**](AccountsIncomingPhoneNumbersAssignedAddOnsExtensionsApi.md#FetchIncomingPhoneNumberAssignedAddOnExtension) | **Get** /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns/{AssignedAddOnSid}/Extensions/{Sid}.json | 8 [**ListIncomingPhoneNumberAssignedAddOnExtension**](AccountsIncomingPhoneNumbersAssignedAddOnsExtensionsApi.md#ListIncomingPhoneNumberAssignedAddOnExtension) | **Get** /2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns/{AssignedAddOnSid}/Extensions.json | 9 10 11 12 ## FetchIncomingPhoneNumberAssignedAddOnExtension 13 14 > ApiV2010IncomingPhoneNumberAssignedAddOnExtension FetchIncomingPhoneNumberAssignedAddOnExtension(ctx, ResourceSidAssignedAddOnSidSidoptional) 15 16 17 18 Fetch an instance of an Extension for the Assigned Add-on. 19 20 ### Path Parameters 21 22 23 Name | Type | Description 24 ------------- | ------------- | ------------- 25 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 26 **ResourceSid** | **string** | The SID of the Phone Number to which the Add-on is assigned. 27 **AssignedAddOnSid** | **string** | The SID that uniquely identifies the assigned Add-on installation. 28 **Sid** | **string** | The Twilio-provided string that uniquely identifies the resource to fetch. 29 30 ### Other Parameters 31 32 Other parameters are passed through a pointer to a FetchIncomingPhoneNumberAssignedAddOnExtensionParams struct 33 34 35 Name | Type | Description 36 ------------- | ------------- | ------------- 37 **PathAccountSid** | **string** | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the resource to fetch. 38 39 ### Return type 40 41 [**ApiV2010IncomingPhoneNumberAssignedAddOnExtension**](ApiV2010IncomingPhoneNumberAssignedAddOnExtension.md) 42 43 ### Authorization 44 45 [accountSid_authToken](../README.md#accountSid_authToken) 46 47 ### HTTP request headers 48 49 - **Content-Type**: Not defined 50 - **Accept**: application/json 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 ## ListIncomingPhoneNumberAssignedAddOnExtension 58 59 > []ApiV2010IncomingPhoneNumberAssignedAddOnExtension ListIncomingPhoneNumberAssignedAddOnExtension(ctx, ResourceSidAssignedAddOnSidoptional) 60 61 62 63 Retrieve a list of Extensions for the Assigned Add-on. 64 65 ### Path Parameters 66 67 68 Name | Type | Description 69 ------------- | ------------- | ------------- 70 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 71 **ResourceSid** | **string** | The SID of the Phone Number to which the Add-on is assigned. 72 **AssignedAddOnSid** | **string** | The SID that uniquely identifies the assigned Add-on installation. 73 74 ### Other Parameters 75 76 Other parameters are passed through a pointer to a ListIncomingPhoneNumberAssignedAddOnExtensionParams struct 77 78 79 Name | Type | Description 80 ------------- | ------------- | ------------- 81 **PathAccountSid** | **string** | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the resources to read. 82 **PageSize** | **int** | How many resources to return in each list page. The default is 50, and the maximum is 1000. 83 **Limit** | **int** | Max number of records to return. 84 85 ### Return type 86 87 [**[]ApiV2010IncomingPhoneNumberAssignedAddOnExtension**](ApiV2010IncomingPhoneNumberAssignedAddOnExtension.md) 88 89 ### Authorization 90 91 [accountSid_authToken](../README.md#accountSid_authToken) 92 93 ### HTTP request headers 94 95 - **Content-Type**: Not defined 96 - **Accept**: application/json 97 98 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 99 [[Back to Model list]](../README.md#documentation-for-models) 100 [[Back to README]](../README.md) 101