Bulk edit automations

Activate or deactivate every automation listed in seriesIds in a single call (status 1 = active, 2 = inactive). Mass mutation, not a listing.

{
    "automation": {
        "name": "Automation 18",
        "cdate": "2024-12-11T09:25:36-06:00",
        "mdate": "2025-01-13T13:21:42-06:00",
        "userid": "1",
        "status": "1",
        "entered": "0",
        "exited": "0",
        "hidden": "0",
        "entitlements_violation": "0",
        "source": "0",
        "description": null,
        "exit_on_unsubscribe": "0",
        "exit_on_conversion": "0",
        "multientry": "1",
        "links": {
            "campaigns": "https://ac-api-url.api-us1.com/api/3/automations/21/campaigns",
            "contactGoals": "https://ac-api-url.api-us1.com/api/3/automations/21/contactGoals",
            "contactAutomations": "https://ac-api-url.api-us1.com/api/3/automations/21/contactAutomations",
            "blocks": "https://ac-api-url.api-us1.com/api/3/automations/21/blocks",
            "goals": "https://ac-api-url.api-us1.com/api/3/automations/21/goals",
            "sms": "https://ac-api-url.api-us1.com/api/3/automations/21/sms",
            "sitemessages": "https://ac-api-url.api-us1.com/api/3/automations/21/sitemessages",
            "triggers": "https://ac-api-url.api-us1.com/api/3/automations/21/triggers"
        },
        "id": "21"
    }
}

Body Params
seriesIds
array of integers
required

A list of automation IDs to be made active/inactive

seriesIds*
integer
enum

1 = Activate, 2 = Inactive

Allowed:
string

When a paused automation should become active again. Read only when status is 3 (paused) and scheduled reactivation is enabled; must be a date and time in the future and within the pause window, else 422.

boolean

Defaults to true.

boolean

Defaults to true.

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Choose an example:
application/json