Skip to content

Replace Marketing Campaign SMS Content

Tool name: replace-automation-sms-content

Replaces automation SMS plaintext at its current draft revision. Empty text is allowed; SMS in active or scheduled automations can be changed, as in the app. Does not send. Notification SMS use replace-notification-sms-content.

Input schema

smsIdinteger, >= 1required
revisionstring^[a-f0-9]{64}$required
plainstring, <= 5000 charactersrequired
accountIdnull or integer, >= 1
Default:null
Input example
{ "smsId": 1, "revision": "string", "plain": "string", "accountId": null }

Output schema

smsIdintegerrequired
kindstringrequired
revisionstringrequired
namestringrequired
notesstringrequired
metaLabelsArray of stringsrequired
senderstringrequired
providerstringrequired
linkTrackingintegerrequired
plainContentstringrequired
usedByAutomationIdsArray of integersrequired
smartTagsArray of any or objectrequired
deletedbooleanrequired
Output example
{ "smsId": 0, "kind": "string", "revision": "string", "name": "string", "notes": "string", "metaLabels": [ "string" ], "sender": "string", "provider": "string", "linkTracking": 0, "plainContent": "string", "usedByAutomationIds": [ 0 ], "smartTags": { "property1": 0, "property2": 0 }, "deleted": true }