Skip to main content
POST
/
v3
/
{wabaid}
/
message_templates
Text Template with Body, Header and Quick Reply
curl --request POST \
  --url https://one.telepie.com/v3/{wabaid}/message_templates \
  --header 'apikey: <api-key>'

Request Body Parameters

wabaid
string
required
Specifies the wabaid of the business account.
{
  "name": "welcome_postman_new_sne124",
  "category": "MARKETING",
  "components": [
    {
      "type": "BODY",
      "text": "Dear {{1}}, Thank you for registering with Telepie and providing consent to receive notifications using WhatsApp. \\r\\n\\r\\nWe request you to kindly save this number.\\r\\n\\r\\nTo get started, please type help*.\\r\\nYou can reply with STOP* anytime you wish to stop communication through this channel.\\r\\nRegards,\\r\\n{{2}}{{2}}",
      "example": {
        "body_text": [["User1", "Telepie"]]
      }
    },
    {
      "type": "HEADER",
      "format": "TEXT",
      "text": "Welcome{{1}}",
      "example": {
        "header_text": ["header-text"]
      }
    },
    {
      "type": "FOOTER",
      "text": "welcome to Telepie"
    },
    {
      "type": "BUTTONS",
      "buttons": [
        {
          "type": "QUICK_REPLY",
          "text": "button1"
        },
        {
          "type": "QUICK_REPLY",
          "text": "button2"
        },
        {
          "type": "QUICK_REPLY",
          "text": "button3"
        }
      ]
    }
  ],
  "language": "en_US",
  "allow_category_change": true
}