Retrieve Automation
Retrieves one automation with its trigger, steps, counts and the problems that stop it from turning on. Needs a Full key. A key limited to one domain answers 403.
{ "id": "aut_06d2mfk8r3gx6mc9qe1pb", "workspace_id": "ws_06d2mfk8r1aq9xv3jc6ne", "name": "Welcome series", "description": null, "status": "on", "trigger": { "type": "event", "event": "user.created" }, "steps": { "s1": { "id": "s1", "type": "send_email", "template_id": "tpl_06d2mfk8r6hn3cx7vb2qe", "from": "", "subject": "", "next": "s2" }, "s2": { "id": "s2", "type": "wait", "amount": 2, "unit": "days", "next": null } }, "first_step_id": "s1", "exit": null, "allow_reentry": false, "entered_count": 120, "active_count": 14, "completed_count": 100, "exited_count": 6, "sent_count": 118, "creator_id": "usr_06d2mfk8r0ce7ha2pw5jx", "turned_on_at": "2026-10-01T12:00:00.000Z", "created_at": "2026-09-28T09:00:00.000Z", "updated_at": "2026-10-01T12:00:00.000Z", "trigger_label": "user.created", "templates": [ { "id": "tpl_06d2mfk8r6hn3cx7vb2qe", "name": "Welcome", "subject": "Welcome to Acme", "from": "Acme <hello@acme.com>", "preheader": "Here is how to start." } ], "segments": [], "step_stats": { "s1": { "waiting": 0, "sent": 118, "opened": 74, "clicked": 21, "unsubscribed": 1, "yes": 0, "no": 0, "paths": [] }, "s2": { "waiting": 14, "sent": 0, "opened": 0, "clicked": 0, "unsubscribed": 0, "yes": 0, "no": 0, "paths": [] } }, "problems": [] }
Returns the automation with its steps, counts and problems.
Path Parameters
The automation id.
Response
The automation id.
The workspace id.
The automation name.
A note about what the automation does.
draft, on or off.
What starts a run for a contact. null until it is set.
Each step by its id. The type of a step is send_email, wait, wait_for_event, check_if, random_split, update_contact, update_topic, update_segment or track_event.
The id of the step that runs first.
What ends a run early. null when nothing does.
Whether a contact can start a new run after the last one ends.
How many runs started.
How many runs are in progress.
How many runs reached the last step.
How many runs stopped before the last step.
How many emails the automation sent.
The id of the user who created it.
When it was last turned on. null when it was never on.
When it was created.
When it last changed.
The event name, or the name of the topic or segment in the trigger.
The templates that the steps send.
The segments that the trigger and the steps use.
Counts for each step by its id: runs that wait there, emails sent, opened, clicked and unsubscribed, yes and no for a check_if step, and paths for a check_if step with several paths or a random_split step.
What stops the automation from turning on. Empty when it can turn on.