---
title: "List Automation Enrollments"
method: GET
path: "/automation_enrollments"
tags: ["Automation Enrollments"]
---

# List Automation Enrollments

`GET /automation_enrollments`

## Request

- Base URL: `https://api.whop.com/api/v1`
- URL: `https://api.whop.com/api/v1/automation_enrollments`
- Auth: HTTP bearer

Lists members' enrollments in automations, newest first.

## Query parameters

- `account_id` string
- `automation_id` string
- `member_id` string
- `status` 'active' | 'completed' | 'canceled'
- `version` integer
- `order` 'created_at'
- `direction` 'asc' | 'desc'
- `first` integer
- `after` string
- `last` integer
- `before` string

## Headers

- `Api-Version-Date` string

## Response `200`

Automation enrollment list

- object
  - `data` AutomationEnrollment[], required
    - `account_id` string, required: ID of the account the automation belongs to, prefixed `biz_`.
    - `automation_id` string, required: ID of the automation, prefixed `ato_`.
    - `created_at` string, required: When the member enrolled, as an ISO 8601 timestamp.
    - `ended_at` string, nullable, required: When the enrollment ended, as an ISO 8601 timestamp. `null` while it's active.
    - `id` string, required: Automation enrollment ID, prefixed `atoe_`.
    - `member_id` string, required: ID of the member in the automation, prefixed `mber_`.
    - `next_run_at` string, nullable, required: When that step runs for this member, as an ISO 8601 timestamp. `null` once the enrollment ends.
    - `next_step_id` string, nullable, required: ID of that step in the member's version, prefixed `atos_`. `null` once the enrollment ends.
    - `next_step_key` integer, nullable, required: The `key` of the step the member is waiting on, in their version. `null` once the enrollment ends.
    - `status` 'active' | 'completed' | 'canceled', required: `active` while the member moves through the automation. `completed` after its last step. `canceled` when the account canceled the enrollment, or stopped or deleted the automation.
    - `trigger_event` 'payment.succeeded' | 'payment.failed' | 'membership.activated' | 'membership.trial_ending_soon' | 'membership.cancel_at_period_end_changed' | 'member.created' | 'invoice.created' | 'invoice.paid' | 'invoice.past_due' | 'refund.created' | 'dispute.created' | 'resolution_center_case.created' | 'resolution_center_case.decided' | 'course_lesson_interaction.completed' | 'null', nullable, required: The webhook event that enrolled the member. `null` when `POST /automations/{id}/trigger` enrolled them.
    - `trigger_resource_id` string, nullable, required: ID of the record the triggering event was about, such as a `pay_` payment or `mem_` membership. `null` when a trigger request enrolled them.
    - `updated_at` string, required: When the enrollment last changed, as an ISO 8601 timestamp.
    - `user_id` string, nullable, required: ID of the member's user, prefixed `user_`. `null` when the member is another business.
    - `version` integer, required: The automation version the member is on. It changes only when a publish moves members to the new version.
  - `page_info` object, required
    - `end_cursor` string, nullable, required
    - `has_next_page` boolean, required
    - `has_previous_page` boolean, required
    - `start_cursor` string, nullable, required

## Other responses

- `400`: Invalid Parameters
- `401`: Unauthorized

## Changes

- **2026-11-23** `d8628142e836`: 1 warning
  - added the new `membership.cancel_at_period_end_changed` enum value to the `data/items/trigger_event` response property for the response status `200`
- **2026-11-06** `ea41781067f2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/whop/apis/whop-api/changes/automation_enrollments/get.md)

---

[API](https://skmtc.dev/whop/apis/whop-api.md) - [All operations](https://skmtc.dev/whop/apis/whop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/whop/apis/whop-api/revisions/b10d1ab093e8?raw)
