A person’s path through an automation
One run with what started it and its decision log: each step it went through, what it did and why (the path and the conditions met, the email sent or skipped, the webhook’s tries).
One run with what started it and its decision log: each step it went through, what it did and why (the path and the conditions met, the email sent or skipped, the webhook’s tries).
apiKey readAuthorizationBearer <token>A workspace API key (pf_…), created under Developers → API keys.
Scope: read
id*string^(auto)_[0-9A-Za-z]{8}$runId*stringuuidOK
application/json- response
id*stringuuidstatus*string"active""completed""exited""failed"stepId*string|nullenteredAt*stringdate-timenextAt*|date-timeendedAt*|date-timeendReason*|"completed""exit_step""step_removed""back_to_draft""restarted""webhook_failed""failed"nullprofile*|nulltrigger*log*array<>curl -X GET 'https://api.postforge.dev/v1/automations/string/runs/497f6eca-6276-4993-bfeb-53cbbbba6f08'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "status": "active", "stepId": "string", "enteredAt": "2019-08-24T14:15:22Z", "nextAt": "2019-08-24T14:15:22Z", "endedAt": "2019-08-24T14:15:22Z", "endReason": "completed", "profile": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "email": "string" }, "trigger": { "property1": null, "property2": null }, "log": [ { "stepId": "string", "outcome": "waited", "detail": { "property1": null, "property2": null }, "messageId": "8540d774-4863-4d2b-b788-4ecb19412e85", "at": "2019-08-24T14:15:22Z" } ]}An email step’s results GET
As a campaign’s results, over every message the step sent in the period: delivery, opens and clicks (people’s, D153), unsubscribes, orders and revenue, activity per day and every link. 404 for a step that never sent.
Every time an automation was triggered, and what came of it GET
Every time its trigger fired for someone, newest first (D206): entered, with their run as it is now (in it, at which step and until when; completed; left early; failed), or why not (the trigger’s conditions, who can enter, entered before, still in it, nobody known). `q` finds people by email or name; `status` and `step` filter on the run.