Automation API
The automation API is now in the API reference. Build automation workflows from triggers and steps, check them before saving, edit and activate them, and read their metrics.
- Building blocks: List automation trigger and step types (
GET /automation/catalog) and get the fields of a trigger or step type (GET /automation/catalog/{type}/schema). - Workflows: list (
GET /automation/workflows), validate (POST /automation/workflows/validate), create (POST /automation/workflows), get (GET /automation/workflows/{workflowId}), update (PUT /automation/workflows/{workflowId}) and update the status of (PUT /automation/workflows/{workflowId}/status) an automation workflow. - Metrics: get the metrics of an automation workflow (
GET /automation/workflows/{workflowId}/metrics): contacts that started and finished it, conversions, and message metrics per channel.
Workflows are created as drafts and activated with a separate call. With OAuth, reads need the automation:read scope and writes automation:write. Restricted API keys are not accepted.