Easymailing
Automation triggers

Pause an automation trigger

PUT /automations/{automationUuid}/automation_triggers/{uuid}/pause

PUT/automations/{automationUuid}/automation_triggers/{uuid}/pause

Disables a trigger so it stops starting new contacts. Its configuration is kept.

When to use: To stop one way of entering for a while while the automation and its other triggers keep working.

When not to use: To stop the whole automation, use automation_pause. To remove the trigger for good, use delete_automation_trigger.

Side effects: Contacts already running through the automation continue; only new entries are blocked. Resume it with automation_trigger_enable.

Permissions: Requires the author role or higher, or the marketing.automations.write capability.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Path Parameters

automationUuid*string

UUID of the automation, as returned by list_automations.

uuid*string

UUID of the trigger, as returned by list_automation_triggers.

Response Body

application/problem+json

application/problem+json

application/problem+json

curl -X PUT "https://api.easymailing.com/automations/0df14405-90ff-4287-b3e4-ef088901ee6f/automation_triggers/9c2e7a14-6b3d-4d58-8f1a-5e0b3a7c4d21/pause" \  -H "X-Auth-Token: YOUR_API_KEY"
{  "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",  "automation": "/entity/1",  "trigger_type": "trigger.admin.manual",  "active": true,  "workflow_repeat": true,  "trigger": null,  "count_automation_queues": 0,  "count_completed_automation_queues": 0,  "count_queued_automation_queues": 0,  "count_canceled_automation_queues": 0}