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
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

Configure credentials above to enable sending.

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

TypeScript

import twilio from '@utdk/twilio';

await twilio.fetchshortcode()