Updating a Template
PUT https://gateway.lipachat.com/api/v1/template/PHONE_NUMBER/:templateIdName
Value
Name
Type
Description
Last updated
{
"name": "test_campaign_utility2",
"category": "MARKETING",
"component": {
"header": {
"format": "TEXT",
"text": "{{1}} sale",
"example": "July"
},
"body": {
"text": "Hi {{1}}, we have an offer for you, click on the link {{2}} to view it.",
"examples": [
"John",
"http://lipachat.com/offers/ASHSH"
]
}
}
}{
"timestamp": null,
"data": {
"success": true,
"error": null
},
"status": "success",
"message": "success",
"errors": null
}{
"timestamp": "2024-09-15T20:06:38.675567555",
"data": null,
"status": "error",
"message": "Content in this language already exists",
"errors": null
}{
"timestamp": "2024-09-15T20:07:23.464199513",
"data": null,
"status": "success",
"message": "Invalid credentials",
"errors": null
}