v1
latestOpenAPI 3.0.02026-07-2664192238.8 KBAutomations
Disable automation workflow
Disable an automation workflow. Once disabled, the workflow stops accepting new trigger events.
Use contactsInWorkflow to control what happens to contacts currently progressing through the workflow:
- keep: contacts remain and continue through the remaining blocks until completion. No new contacts enter.
- exit: all contacts are immediately removed from the workflow. Contacts who have not yet received their messages will not receive them.
Disabling an already-disabled automation is idempotent — returns the current state without side effects.
Scopes: automations.write
post/automations/{id}/disable
Path parameters
idstring required
Automation workflow ID (24 character hexadecimal)
Headers
Omnisend-Versionstring required
API version that specifies the response format and behaviour
Request body
Example request
{
"contactsInWorkflow": "keep"
}Response
Automation workflow in its new disabled state