github.com/twilio/twilio-go@v1.20.1/rest/pricing/v2/docs/TrunkingNumbersApi.md (about) 1 # TrunkingNumbersApi 2 3 All URIs are relative to *https://pricing.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**FetchTrunkingNumber**](TrunkingNumbersApi.md#FetchTrunkingNumber) | **Get** /v2/Trunking/Numbers/{DestinationNumber} | 8 9 10 11 ## FetchTrunkingNumber 12 13 > PricingV2TrunkingNumber FetchTrunkingNumber(ctx, DestinationNumberoptional) 14 15 16 17 Fetch pricing information for a specific destination and, optionally, origination phone number. 18 19 ### Path Parameters 20 21 22 Name | Type | Description 23 ------------- | ------------- | ------------- 24 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 25 **DestinationNumber** | **string** | The destination phone number, in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, for which to fetch the origin-based voice pricing information. E.164 format consists of a + followed by the country code and subscriber number. 26 27 ### Other Parameters 28 29 Other parameters are passed through a pointer to a FetchTrunkingNumberParams struct 30 31 32 Name | Type | Description 33 ------------- | ------------- | ------------- 34 **OriginationNumber** | **string** | The origination phone number, in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, for which to fetch the origin-based voice pricing information. E.164 format consists of a + followed by the country code and subscriber number. 35 36 ### Return type 37 38 [**PricingV2TrunkingNumber**](PricingV2TrunkingNumber.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