github.com/twilio/twilio-go@v1.20.1/rest/pricing/v1/docs/VoiceCountriesApi.md (about) 1 # VoiceCountriesApi 2 3 All URIs are relative to *https://pricing.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**FetchVoiceCountry**](VoiceCountriesApi.md#FetchVoiceCountry) | **Get** /v1/Voice/Countries/{IsoCountry} | 8 [**ListVoiceCountry**](VoiceCountriesApi.md#ListVoiceCountry) | **Get** /v1/Voice/Countries | 9 10 11 12 ## FetchVoiceCountry 13 14 > PricingV1VoiceCountryInstance FetchVoiceCountry(ctx, IsoCountry) 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 **IsoCountry** | **string** | The [ISO country code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the pricing information to fetch. 27 28 ### Other Parameters 29 30 Other parameters are passed through a pointer to a FetchVoiceCountryParams struct 31 32 33 Name | Type | Description 34 ------------- | ------------- | ------------- 35 36 ### Return type 37 38 [**PricingV1VoiceCountryInstance**](PricingV1VoiceCountryInstance.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 ## ListVoiceCountry 55 56 > []PricingV1VoiceCountry ListVoiceCountry(ctx, optional) 57 58 59 60 61 62 ### Path Parameters 63 64 This endpoint does not need any path parameter. 65 66 ### Other Parameters 67 68 Other parameters are passed through a pointer to a ListVoiceCountryParams struct 69 70 71 Name | Type | Description 72 ------------- | ------------- | ------------- 73 **PageSize** | **int** | How many resources to return in each list page. The default is 50, and the maximum is 1000. 74 **Limit** | **int** | Max number of records to return. 75 76 ### Return type 77 78 [**[]PricingV1VoiceCountry**](PricingV1VoiceCountry.md) 79 80 ### Authorization 81 82 [accountSid_authToken](../README.md#accountSid_authToken) 83 84 ### HTTP request headers 85 86 - **Content-Type**: Not defined 87 - **Accept**: application/json 88 89 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 90 [[Back to Model list]](../README.md#documentation-for-models) 91 [[Back to README]](../README.md) 92