Create template Utility
POST /template/
Authorization: Bearer <cartat_api_token>
Content-Type: application/jsonExample
{
"name": "invoice_ready",
"category": "UTILITY",
"language": "en_US",
"components": [
{
"type": "BODY",
"text": "Hi {{customer_name}}, your invoice {{invoice_number}} is ready.",
"example": {
"body_text_named_params": [
{
"param_name": "customer_name",
"example": "John"
},
{
"param_name": "invoice_number",
"example": "INV-1001"
}
]
}
},
{
"type": "FOOTER",
"text": "Cartat"
}
]
}