All Automations endpoints sit under
/api/brands/{brand}/automations/ with moduleAccess:automations middleware. Authenticate with EF-Access-Key.List Automations
Results per page (1–100, default: 25)
Search by title
newest (default), oldest, created_at, updated_atasc or desc (used with created_at / updated_at)cURL
List Automations (Unpaginated)
{ id, title } for all automations — useful for dropdowns.
Get Automation
Create Automation
Automation name (max 255 chars)
cURL
Update Automation
New title (max 255)
active, inactive, or draftTrigger type (e.g.
form_submission, purchase, tag_added)Entry node code
Custom postback code (max 255)
Collection code to attach
Delete Automation
Clone Automation
Creates a full copy of an automation within the same brand.New name for the clone. Defaults to
"<original title> (Copy)".cURL
Copy Automation to Another Brand
Source automation ID
Target brand ID to copy into
Title for the copied automation in the target brand
Export Automations
Queue a CSV export of automation records.Filter conditions
Limit export to specific automation IDs
Columns to include
Get Builder Config
Returns the full visual-builder JSON for an automation. If a draft revision exists, the draft is returned instead of the published version.cURL
Save Builder Config
Saves the visual-builder JSON. Passdraft=true to save as a draft revision without publishing.
The complete builder config object (same shape as returned by GET)
If
true, saves as a draft revision. Published configs are deployed to S3 and activate the automation.cURL — save as draft
Discard Draft Revision
Discards the current draft revision and reverts to the last published version.Get Automation Stats
Returns execution counts per node, aggregated from the event log.cURL
Execution Summary
Global summary of automation runs for the brand.Execution Summary by Automation
Automation Event Log
Automation Events
Notes
postback_codeis the unique trigger code used in postback URLs (/webhooks/{code})- Builder configs are deployed to S3 on publish — draft saves do not activate the automation
- Stats are read from Elasticsearch and may have a short indexing delay
- The
copyendpoint copies across brands;clonecopies within the same brand