Update SMS template
This method allows you to update one SMS template.
PUT
/sms-templates/:template_id
Body Parameters
model | The message content of your template. |
name | The name of template. |
links | links is an array that contains the links corresponding to tags. links can contains customLinks for <-short-> tag and fileLinks for <-file-> tag. |
Examples
PUT /api/contact-list/123abc123ab12 HTTP/1.1
Host:
Authorization: Bearer your.token
Content-type: application/json
{
"sms": {
"template": {
"model": "Hello, I'm a new model"
}
}
}
Result Format
{
"status": 1,
"message": "OK"
}