List automation steps
Get the workflow of an automation as a flat list of steps.
Get the workflow of an automation as a flat list of steps.
The steps form a tree rather than a straight line: follow parent_uuid to reconstruct the
branches, and use step_order to order the steps that share a parent. An automation with no
steps yet returns an empty list.
API Token authentication
Profile uuid parameter
550e8400-e09b-41d4-a716-400055000000Automation uuid parameter
550e8400-e09b-41d4-a716-400055000000Success response
550e8400-e29b-41d4-a716-446655440000The step this one branches from. Null for the entry point of the workflow.
2080cc86-e026-4f7b-9598-d4132f8c7c2fPosition of this step among the steps sharing its parent.
1Role of the step in the workflow. A conditional step branches into several children.
actionPossible values: The concrete trigger, action, decision or delay this step performs.
send_emailPossible values: Step configuration. The shape depends on the value, and is empty for steps that take none.
Unauthenticated response
Error response
GET /api/reach/v1/profiles/{profileUuid}/automations/{automationUuid}/steps HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"parent_uuid": "2080cc86-e026-4f7b-9598-d4132f8c7c2f",
"step_order": 1,
"type": "action",
"value": "send_email",
"config": {}
}
]Last updated
Was this helpful?