Update SMS template
This method allows you to update one SMS template.
PUT
/sms-templates/:template_id
Parametri del body
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, fileLinks for <-file-> tag and richid for <-rich-> tag. |
Esempi
PUT /api/contact-list/123abc123ab12 HTTP/1.1
Host: preprodgoapi.smsfactor.com
Authorization: Bearer your.token
Content-type: application/json
{
"sms": {
"template": {
"model": "Hello, I'm a new model"
}
}
}
Formato della risposta
{
"status": 1,
"message": "OK"
}