Create Limited Time Offer Template

Create a marketing template with a Limited Time Offer (LTO) component. This adds an expiration countdown visual to the message.

Example Request Body

{
  "name": "limited_time_offer",
  "language": "en",
  "category": "marketing",
  "components": [
    {
      "type": "header",
      "format": "image",
      "example": {
        "header_handle": [
          "4::aW1"
        ]
      }
    },
    {
      "type": "limited_time_offer",
      "limited_time_offer": {
        "text": "Expiring offer!",
        "has_expiration": true
      }
    },
    {
      "type": "body",
      "text": "Good news, {{1}}! Use code {{2}} to get 25% off all Caribbean Destination packages!",
      "example": {
        "body_text": [
          [
            "Harsh",
            "HOTS25"
          ]
        ]
      }
    },
    {
      "type": "buttons",
      "buttons": [
        {
          "type": "copy_code",
          "example": "HOTS25"
        },
        {
          "type": "url",
          "text": "Book now!",
          "url": "[https://awesomedestinations.com/offers?code=](https://awesomedestinations.com/offers?code=){{1}}",
          "example": [
            "[https://awesomedestinations.com/offers?ref=n3mtql](https://awesomedestinations.com/offers?ref=n3mtql)"
          ]
        }
      ]
    }
  ]
}
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Defaults to v24.0
string
required
Body Params
string
string
string
enum
Allowed:
components
array of objects
components
Headers
string
required

Provide your Access Token. Format: YOUR_API_KEY

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json