Automations
Update user-specific SMS notification settings for an automation
Updates the calling user's per-automation SMS notification configuration (enabled flag, recipient phone numbers, custom message body, optional template id). Stored on the User document; the Automation itself is not modified.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PATCH "https://example.com/api/automations/string/sms-settings" \ -H "Content-Type: application/json" \ -d '{ "smsNotificationEnabled": true, "smsNotificationPhoneNumbers": [ "+14155551234", "+14155555678" ], "smsNotificationMessage": "New lead pending follow-up.", "smsNotificationTemplateId": "new-lead-alert" }'{ "success": true, "message": "SMS notification settings updated successfully", "data": { "automationId": "64d2f9c5e8a1d4e001a0b1c2", "smsNotification": { "enabled": true, "phoneNumbers": [ "+14165550100" ], "message": "New escalation on lead {{contact.firstName}}", "templateId": "64a1b2c3d4e5f60012345679" } }}