provider Api20100401IncomingPhoneNumberLocal GET
/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/Local.json @utdk/twilio
/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/Local.json - AccountSid path required
- The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the resources to read.
- string
- Beta query
- Whether to include phone numbers new to the Twilio platform. Can be: `true` or `false` and the default is `true`.
- boolean
- FriendlyName query
- A string that identifies the resources to read.
- string
- PhoneNumber query
- The phone numbers of the IncomingPhoneNumber resources to read. You can specify partial numbers and use '*' as a wildcard for any digit.
- string
- Origin query
- Whether to include phone numbers based on their origin. Can be: `twilio` or `hosted`. By default, phone numbers of all origin are included.
- string
- PageSize query
- How many resources to return in each list page. The default is 50, and the maximum is 1000.
- integer
- Page query
- The page index. This value is simply for client state.
- integer
- PageToken query
- The page token. This is provided by the API.
- 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.
Code snippet
Updates live as you fill in the form above.
TypeScript
import twilio from '@utdk/twilio';
await twilio.listincomingphonenumberlocal()