Create a template
Path Parameters
Name
Type
Description
{
"entity": {
"id": "template_test",
"templates": [
{
"channel": null,
"id": "1385622408844485",
"language": {
"code": "en_US"
},
"status": "MESSAGE_TEMPLATE_STATUS_PENDING",
"createdAt": "2023-01-18T01:07:20.075195879Z",
"updatedAt": "2023-01-18T01:07:20.075195879Z",
"externalTemplate": null,
"components": [],
"templateComponents": [
{
"header": {
"media": {
"type": "TYPE_IMAGE",
"example": [
"https://uploads-ssl.webflow.com/60c6f467ba3a281e33bc3449/62bcc6414212753dc33b5c2d_312313.png"
]
}
}
},
{
"body": {
"text": {
"text": "Hi {{1}}, Welcome to Connectly. Do you want to learn more?",
"example": [
"Lorem"
]
}
}
},
{
"footer": {
"text": {
"text": "Reply 'Stop' to opt out",
"example": []
}
}
},
{
"button": {
"quickReply": {
"text": "Learn more"
}
}
},
{
"button": {
"quickReply": {
"text": "Not interested"
}
}
}
],
"rejectionReason": null
}
],
"name": "template_test3",
"category": "MARKETING",
"createdAt": null,
"updatedAt": null
}
}Template Components
Header
Body
Footer
Button
Examples
Simple Template with a body and no variables
Simple Template with a body with one variable
Simple Template with a body with 4 variables
Template with an image header and body varaibles
Template with text header and body variables
Template with a document header, footer, and no variables
Template with a quick reply button
Template with a CTA button that leads to the website
Template with a CTA button that starts a phone call
Carousel template

Template
Last updated


