# `Twilio.Schemas.ShortCode`

## Fields

  * `account_sid` - The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this ShortCode resource.
  * `api_version` - The API version used to start a new TwiML session when an SMS message is sent to this short code.
  * `date_created` - The date and time in GMT that this resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
  * `date_updated` - The date and time in GMT that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
  * `friendly_name` - A string that you assigned to describe this resource. By default, the `FriendlyName` is the short code.
  * `short_code` - The short code. e.g., 894546.
  * `sid` - The unique string that that we created to identify this ShortCode resource.
  * `sms_fallback_method` - The HTTP method we use to call the `sms_fallback_url`. Can be: `GET` or `POST`.
  * `sms_fallback_url` - The URL that we call if an error occurs while retrieving or executing the TwiML from `sms_url`.
  * `sms_method` - The HTTP method we use to call the `sms_url`. Can be: `GET` or `POST`.
  * `sms_url` - The URL we call when receiving an incoming SMS message to this short code.
  * `uri` - The URI of this resource, relative to `https://api.twilio.com`.

# `t`

```elixir
@type t() :: %Twilio.Schemas.ShortCode{
  __extra__: %{optional(String.t()) =&gt; term()},
  __present__: [atom()],
  account_sid: String.t() | nil,
  api_version: String.t() | nil,
  date_created: String.t() | nil,
  date_updated: String.t() | nil,
  friendly_name: String.t() | nil,
  short_code: String.t() | nil,
  sid: String.t() | nil,
  sms_fallback_method: String.t() | nil,
  sms_fallback_url: String.t() | nil,
  sms_method: String.t() | nil,
  sms_url: String.t() | nil,
  uri: String.t() | nil
}
```

# `decode`

```elixir
@spec decode(term()) :: t() | term()
```

Decodes parsed JSON into this struct.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
