provider Api20100401ShortCode GET /2010-04-01/Accounts/{AccountSid}/SMS/ShortCodes.json
@utdk/twilio /2010-04-01/Accounts/{AccountSid}/SMS/ShortCodes.json
Retrieve a list of short-codes belonging to the account used to make the request
Retrieve a list of short-codes belonging to the account used to make the request
AccountSid path required
The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ShortCode resource(s) to read.
string
FriendlyName query
The string that identifies the ShortCode resources to read.
string
ShortCode query
Only show the ShortCode resources that match this pattern. You can specify partial numbers and use '*' as a wildcard for any digit.
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.

listshortcode
GET/2010-04-01/Accounts/{AccountSid}/SMS/ShortCodes.json
Retrieve a list of short-codes belonging to the account used to make the request

Parameters

required

The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ShortCode resource(s) to read.

The string that identifies the ShortCode resources to read.

Only show the ShortCode resources that match this pattern. You can specify partial numbers and use '*' as a wildcard for any digit.

How many resources to return in each list page. The default is 50, and the maximum is 1000.

The page index. This value is simply for client state.

The page token. This is provided by the API.

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.listshortcode()