Skip to content

Latest commit

 

History

History
92 lines (47 loc) · 2.42 KB

PhoneNumbersCountriesApi.md

File metadata and controls

92 lines (47 loc) · 2.42 KB

PhoneNumbersCountriesApi

All URIs are relative to https://pricing.twilio.com

Method HTTP request Description
FetchPhoneNumberCountry Get /v1/PhoneNumbers/Countries/{IsoCountry}
ListPhoneNumberCountry Get /v1/PhoneNumbers/Countries

FetchPhoneNumberCountry

PricingV1PhoneNumberCountryInstance FetchPhoneNumberCountry(ctx, IsoCountry)

Path Parameters

Name Type Description
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
IsoCountry string The ISO country code of the pricing information to fetch.

Other Parameters

Other parameters are passed through a pointer to a FetchPhoneNumberCountryParams struct

Name Type Description

Return type

PricingV1PhoneNumberCountryInstance

Authorization

accountSid_authToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ListPhoneNumberCountry

[]PricingV1PhoneNumberCountry ListPhoneNumberCountry(ctx, optional)

Path Parameters

This endpoint does not need any path parameter.

Other Parameters

Other parameters are passed through a pointer to a ListPhoneNumberCountryParams struct

Name Type Description
PageSize int How many resources to return in each list page. The default is 50, and the maximum is 1000.
Limit int Max number of records to return.

Return type

[]PricingV1PhoneNumberCountry

Authorization

accountSid_authToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]