दस्तावेज़ पर जाएँ
API

ऑटोमेशन में लोग

ऑटोमेशन में अंदर आए लोग, नए पहले, और हर एक जिस चरण पर है। id से पढ़ी गई एक भागीदारी में उसका चला हर चरण भी होता है।

GET/automations/{id}/enrollments

2 कॉल में से कोई भी आपके वर्कस्पेस पर चलाता है।

GET /automations/{id}/enrollments

ऑटोमेशन में अंदर आए लोग, नए पहले, और हर एक जिस चरण पर है। id से पढ़ी गई एक भागीदारी में उसका चला हर चरण भी होता है।

उदाहरण

automations:read चाहिए। status का मान active, completed या exited होता है, stepKey सूची को एक चरण के लोगों तक सीमित करता है, और q नामों और पतों में खोजता है। limit अधिकतम 200 तक जाता है और डिफ़ॉल्ट 50 है।

curl
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 के साथ।

संदर्भ