provider Api20100401AvailablePhoneNumberCountry GET /2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}.json
@utdk/twilio /2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}.json
AccountSid path required
The SID of the [Account](https://www.twilio.com/docs/iam/api/account) requesting the available phone number Country resource.
string
CountryCode path required
The [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the country to fetch available phone number information about.
string

Try it

Authentication
Configure credentials for Twilio - Api
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

fetchavailablephonenumbercountry
GET/2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}.json

Parameters

required

The SID of the [Account](https://www.twilio.com/docs/iam/api/account) requesting the available phone number Country resource.

required

The [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the country to fetch available phone number information about.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import twilio from '@utdk/twilio';

await twilio.fetchavailablephonenumbercountry()