All Automations endpoints sit under
/api/brands/{brand}/automations/ with moduleAccess:automations middleware. Authenticate with EF-Access-Key.List Automations
number
Results per page (1–100, default: 25)
string
Search by title
string
newest (default), oldest, created_at, updated_atstring
asc or desc (used with created_at / updated_at)cURL
List Automations (Unpaginated)
{ id, title } for all automations — useful for dropdowns.
Get Automation
Create Automation
string
required
Automation name (max 255 chars)
cURL
Update Automation
string
New title (max 255)
string
active, inactive, or draftstring
Trigger type (e.g.
form_submission, purchase, tag_added)string
Entry node code
string
Custom postback code (max 255)
string
Collection code to attach
Delete Automation
Clone Automation
Creates a full copy of an automation within the same brand.string
New name for the clone. Defaults to
"<original title> (Copy)".cURL
Copy Automation to Another Brand
number
required
Source automation ID
number
required
Target brand ID to copy into
string
required
Title for the copied automation in the target brand
Export Automations
Queue a CSV export of automation records.array
Filter conditions
array
Limit export to specific automation IDs
array
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.
object
The complete builder config object (same shape as returned by GET)
boolean
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