API
자동화에 있는 사람
자동화에 들어온 사람을 최신순으로, 각자 있는 단계와 함께 보여 줍니다. id로 읽은 참여 내역 하나에는 실행된 모든 단계도 들어 있습니다.
GET/automations/{id}/enrollments
2개 호출을 워크스페이스에 실제로 실행합니다.
GET /automations/{id}/enrollments
자동화에 들어온 사람을 최신순으로, 각자 있는 단계와 함께 보여 줍니다. id로 읽은 참여 내역 하나에는 실행된 모든 단계도 들어 있습니다.
예시
automations:read가 필요합니다. status는 active, completed, exited 중 하나이고, stepKey는 목록을 한 단계에 있는 사람으로 좁히며, q는 이름과 주소를 검색합니다. limit은 최대 200까지이며 기본값은 50입니다.
curl "$OE/automations/aut_7c2e9a1f4b8d30c65e1a9f27/enrollments?status=active" -H "$AUTH"curl "$OE/automations/aut_7c2e9a1f4b8d30c65e1a9f27/enrollments/aen_2d8f1b6c9e3a47d05b1c8e62" -H "$AUTH"{ "object": "list", "data": [{ "object": "automation_enrollment", "id": "aen_2d8f1b6c9e3a47d05b1c8e62", "automationId": "aut_7c2e9a1f4b8d30c65e1a9f27", "version": 2, "contact": { "id": "5b0e7c1a-2f4d-4c8b-9a36-1e7d0c5f8b24", "email": "[email protected]", "name": "Ana Lima" }, "status": "active", "source": "trigger", "stepKey": "pause", "waiting": true, "waitingForEvent": null, "heldFor": null, "nextRunAt": "2026-10-14T08:02:11.000Z", "exitReason": null, "lastError": null, "startedAt": "2026-10-11T08:02:03.000Z", "finishedAt": null, "updatedAt": "2026-10-11T08:02:11.000Z" }], "hasMore": false, "nextCursor": null}waiting은 그 사람이 대기 단계에 있는 동안 true이며, nextRunAt은 다음으로 넘어가는 시각입니다. waitingForEvent는 대기가 기다리고 있는 이벤트의 이름입니다.
heldFor는 실행 시점이 된 단계가 아직 실행되지 않은 이유를 알려 줍니다. window는 발송 시간대, quota는 요금제의 발송 허용량, lane은 워크스페이스의 마케팅 메일이 일시 중지된 동안, retry는 실패한 뒤의 재시도입니다.
참여 내역 하나를 읽으면 runs가 더해집니다. 실행된 각 단계와 그 outcome, 이메일이면 메시지의 emailId가 나옵니다.