A template is a simple structured message that includes a title, subtitle, image, and buttons.
Templates allow you to present your services and products to your users in an interactive and engaging format while freeing your agents from doing so.

{
  "templates": [
    {
      "title": "Welcome!",
      "subtitle": "We have the right car for everyone.",
      "coverImageUrl": "https://glassix-public.s3.eu-central-1.amazonaws.com/3156704.jpg",
      "buttons": [
        {
          "title": "Looking For a New Car",
          "type": "text"
        },
        {
          "title": "Get Order Status",
          "type": "text"
        }
      ]
    }
  ]
}

Our platform supports sending a horizontally scrollable carousel of generic templates.
This carousel will be displayed automatically if more than 1 template is included with the send endpoint.

{
  "templates": [
    {
      "title": "Volkswagen Beetle",
      "subtitle": "The original concept behind the first Volkswagen is the notion of a people’s car",
      "coverImageUrl": "https://glassix-public.s3.eu-central-1.amazonaws.com/illustration-car_169137-190_2.jpg",
      "buttons": [
        {
          "title": "Engine - 1200 cc H4",
          "type": "postback",
          "data": "My custom data - Volkswagen Beetle 1200 cc H4"
        },
        {
          "title": "Engine - 1600 cc H4",
          "type": "text"
        },
        {
          "title": "Buy now",
          "type": "web_url",
          "uri": "https://www.amazon.com/cars"
        }
      ]
    },
    {
      "title": "Volkswagen Type 2",
      "subtitle": "Like the Beetle, the van has received numerous nicknames worldwide, Hippie van/bus has become its most popular.",
      "coverImageUrl": "https://glassix-public.s3.eu-central-1.amazonaws.com/illustration-classic-camper-van_169137-46_2.jpg",
      "buttons": [
        {
          "title": "4/5-door panel van",
          "type": "postback",
          "data": "My custom data - Volkswagen Type 2 4/5-door panel van "
        },
        {
          "title": "4/5-door minibus ",
          "type": "postback",
          "data": "My custom data - Volkswagen Type 2 4/5-door minibus"
        }
      ]
    }
  ]
}