Api20100401ShortCode

Fetch an instance of a short code

Changed on

Fetch an instance of a short code

get/2010-04-01/Accounts/{AccountSid}/SMS/ShortCodes/{Sid}.json

Request

  • Base URL
    https://api.twilio.com
  • URL
    https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SMS/ShortCodes/{Sid}.json
  • Auth
    HTTP basic

Path parameters

AccountSidstring required

The SID of the Account that created the ShortCode resource(s) to fetch.

Sidstring required

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

Response

OK

account_sidstring nullable

The SID of the Account that created this ShortCode resource.

api_versionstring nullable

The API version used to start a new TwiML session when an SMS message is sent to this short code.

date_createdstring date-time-rfc-2822 nullable

The date and time in GMT that this resource was created specified in RFC 2822 format.

date_updatedstring date-time-rfc-2822 nullable

The date and time in GMT that this resource was last updated, specified in RFC 2822 format.

friendly_namestring nullable

A string that you assigned to describe this resource. By default, the FriendlyName is the short code.

short_codestring nullable

The short code. e.g., 894546.

sidstring nullable

The unique string that that we created to identify this ShortCode resource.

sms_fallback_method'GET' | 'POST' http-method nullable

The HTTP method we use to call the sms_fallback_url. Can be: GET or POST.

sms_fallback_urlstring uri nullable

The URL that we call if an error occurs while retrieving or executing the TwiML from sms_url.

sms_method'GET' | 'POST' http-method nullable

The HTTP method we use to call the sms_url. Can be: GET or POST.

sms_urlstring uri nullable

The URL we call when receiving an incoming SMS message to this short code.

uristring nullable

The URI of this resource, relative to https://api.twilio.com.

Changes

    • info

      removed the DELETE enum value from the response property for the response status

    • info

      removed the DELETE enum value from the response property for the response status

    • info

      removed the HEAD enum value from the response property for the response status

    • info

      removed the HEAD enum value from the response property for the response status

    • info

      removed the PATCH enum value from the response property for the response status

    • info

      removed the PATCH enum value from the response property for the response status

    • info

      removed the PUT enum value from the response property for the response status

    • info

      removed the PUT enum value from the response property for the response status