provider Api20100401ShortCode GET /2010-04-01/Accounts/{AccountSid}/SMS/ShortCodes/{Sid}.json
@utdk/twilio /2010-04-01/Accounts/{AccountSid}/SMS/ShortCodes/{Sid}.json
Fetch an instance of a short code
Fetch an instance of a short code
AccountSid path required
The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ShortCode resource(s) to fetch.
string
Sid path required
The Twilio-provided string that uniquely identifies the ShortCode resource to fetch
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.

fetchshortcode
GET/2010-04-01/Accounts/{AccountSid}/SMS/ShortCodes/{Sid}.json
Fetch an instance of a short code

Parameters

required

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

required

The Twilio-provided string that uniquely identifies the ShortCode resource to fetch

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