---
title: "List enrollments"
full: true
_openapi:
  method: GET
  toc: []
  structuredData:
    headings: []
    contents:
      - content: "Lists contacts enrolled in this automation"
_apiData:
  document: "https://reloop.sh/api/workflow/openapi/json"
  operationData: [{"path":"/api/workflow/v1/automations/{automation_id}/enrollments","method":"get"}]
  parameterList: [{"name":"automation_id","type":"string","required":true,"description":"Automation ID (auto_...)","location":"path","minLength":1},{"name":"page","type":"string | number","required":false,"description":"Page number","location":"query","defaultValue":1,"minimum":1},{"name":"limit","type":"string | number","required":false,"description":"Enrollments per page","location":"query","defaultValue":50,"minimum":1,"maximum":100},{"name":"status","type":"\"active\" | \"completed\" | \"cancelled\" | \"failed\"","required":false,"description":"","location":"query","enumValues":["active","completed","cancelled","failed"]}]
  responseMap: {"200":{"description":"Response for status 200","schema":{"enrollments":[{"id":"enr_123456789","automationId":"auto_123456789","contactId":"con_123456789","contactEmail":"john.doe@example.com","contactFirstName":"John","contactLastName":"Doe","status":"active","currentNodeId":"wait","enrolledAt":"2026-03-23T10:00:00.000Z","completedAt":null,"cancelledAt":null}],"total":1,"page":1,"limit":50}},"401":{"description":"Response for status 401","schema":{"message":"Authentication required"}},"404":{"description":"Response for status 404","schema":{"message":"Automation not found","why":"No automation with ID \"auto_123456789\" exists for your organization.","fix":"Verify the ID and ensure it belongs to your active organization."}}}
  codeSamples:
    - id: node
      lang: javascript
      label: Node.js
      source: |-
        import { Reloop } from "reloop-email";
        
        const reloop = new Reloop({ apiKey: "rl_123456789" });
        
        const { enrollments, enrollmentError } = await reloop.automations.enrollments.list("auto_123456789", {
          status: "active",
        });
        if (enrollmentError) throw enrollmentError;
    - id: curl
      lang: bash
      label: cURL
      source: |-
        curl -X GET "https://reloop.sh/api/workflow/v1/automations/auto_123456789/enrollments?status=active" \
          -H "x-api-key: rl_123456789"
    - id: python
      lang: python
      label: Python
      source: |-
        import requests
        
        res = requests.get(
            "https://reloop.sh/api/workflow/v1/automations/auto_123456789/enrollments?status=active",
            headers={"x-api-key": "rl_123456789"},
        )
        res.raise_for_status()
        print(res.json())
---
> For the complete documentation index, see [llms-docs.txt](/llms-docs.txt) or the site index [llms.txt](/llms.txt). Full docs corpus: [llms-full-docs.txt](/llms-full-docs.txt). Prefer markdown URLs (append `.md`) for agent consumption. Product skill: [skill.md](/skill.md).


{/* This file was generated by the OpenAPI doc generator. Do not edit this file directly. Run `bun run generate:api-docs` to regenerate. */}

<APIPage />
