Update a send-SMS step
PUT /automations/{automationUuid}/automation_steps/{uuid}/send_sms
/automations/{automationUuid}/automation_steps/{uuid}/send_smsChanges an existing send-SMS step by replacing its settings with the values you send. The step keeps its place in the flow; position fields in the body are ignored.
When to use: To change the text, the sender or the tracking of the SMS.
When not to use: To add a new send-SMS step to a flow, use create_step_send_sms. Call this operation only on a step whose step_type is step.send.sms: the API does not check it, and sending the wrong kind replaces the settings of a step of another type with settings that do not fit it, which can break the step. To move the step, use move_step_position; to change its type, delete it with delete_automation_step and create a new one.
Side effects: Contacts that have not yet passed this step use the new settings.
Permissions: Requires the author role or higher, or the marketing.automations.write capability.
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
UUID of the automation, as returned by list_automations.
UUID of the step, as returned by list_automation_steps.
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://api.easymailing.com/automations/0df14405-90ff-4287-b3e4-ef088901ee6f/automation_steps/4b1f6c0e-52a1-4f0e-9a64-1d3c7f2b8e90/send_sms" \ -H "X-Auth-Token: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "action": { "title": "Order reminder", "message": "Hi, your order is waiting for you at Acme.", "sms_sender": "/sms_senders/1", "track_clicks": true } }'{ "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "step_type": "string", "automation": "/entity/1", "count_automation_queue_items_completed": 0, "count_automation_queue_items_in_queue": 0, "action": { "title": "string", "message": "string", "sms_sender": "/entity/1", "track_clicks": true, "track_ecommerce": true, "track_google_analytics": true, "google_analytics_tag": "string" }, "children": { "next": { "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "step_type": "string", "automation": "/entity/1", "count_automation_queue_items_completed": 0, "count_automation_queue_items_in_queue": 0, "action": null, "children": null } }}