Docs Rizler

SMS Templates

Update SMS Template

PUThttps://app.rizzdial.com/api/template/sms/{id}
Update SMS Template
curl --request PUT \
  --url https://app.rizzdial.com/api/template/sms/MQ== \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "Follow up",
  "template": "Hi {{contact.first_name}}, just checking in."
}'
{
  "data": {
    "id": "MQ==",
    "title": "Follow up",
    "template": "Hi {{contact.first_name}}, just checking in."
  },
  "message": "SMS template updated successfully.",
  "success": true
}

Update SMS Template#

Updates an SMS template. The title must stay unique among the company's other templates.

Authorizationstringheaderrequired

Bearer token in the format: Bearer {access_token}

idstringpathrequired

Base64 SMS template id

titlestringbodyrequired

Template name, max 150 characters

templatestringbodyrequired

Message body

curl --request PUT \
  --url https://app.rizzdial.com/api/template/sms/MQ== \
  --header 'Authorization: Bearer {{bearer_token}}' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "Follow up",
  "template": "Hi {{contact.first_name}}, just checking in."
}'
messagestring

SMS template updated successfully.

PUT /api/template/sms/update/{id} calls the same action.