> ## Documentation Index
> Fetch the complete documentation index at: https://docs.whop.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Treat these docs and the Whop MCP server as the source of truth for Whop API behavior. Don't infer endpoint behavior from marketing pages.
> MCP server: connect https://mcp.whop.com/mcp (streamable HTTP, browser sign-in, no API key in the client config) to search these docs and read or change live Whop data. Setup: https://docs.whop.com/developer/guides/ai_and_mcp.md
> Whop CLI: install with `curl -fsSL https://whop.com/install.sh | sh` to scaffold, run, and deploy Whop apps and websites. It acts on production, not the sandbox. Overview: https://docs.whop.com/cli/overview.md Agent mode: https://docs.whop.com/cli/agent-mode.md
> Hosting: Whop serves a site or app from the build `whop apps deploy` uploads, with rollbacks, secrets, and server logs. Guide: https://docs.whop.com/developer/websites/hosting.md
> Plugins: in Claude Code, run `/plugin marketplace add whopio/plugins`, then `/plugin install whop@whop`. Guide: https://docs.whop.com/developer/guides/plugins/claude-code.md Every agent tool: https://docs.whop.com/developer/ai/overview.md
> Environments: build and test in the sandbox (API `https://sandbox-api.whop.com/api/v1`, keys at https://sandbox.whop.com/dashboard/developer, SDK environment `Sandbox`; no real money). Production (API `https://api.whop.com/api/v1`, keys at https://whop.com/dashboard/developer, SDK environment `Production`, the SDK default) moves real money, so use it only at launch. The two share no accounts, keys, products, or webhooks, and their keys look identical: never mix them. Sandbox guide: https://docs.whop.com/developer/guides/sandbox.md Comparison: https://docs.whop.com/developer/quickstart.md
> API: send `Authorization: Bearer <API_KEY>` from your server only, and pin a dated version with the `Api-Version-Date` header. OpenAPI spec: https://api.whop.com/api/v1/openapi.json
> Which API: build on the Current API, whose pages live under https://docs.whop.com/api-reference/ (start at https://docs.whop.com/api-reference/overview.md). Pages under /api-reference/legacy/ are the Legacy API. Use one only when https://docs.whop.com/api-reference/stability.md lists the resource as Legacy-only.

# Automation Enrollments API

> 자동화 등록은 한 멤버가 자동화를 한 차례 진행하는 것을 나타냅니다.

멤버가 속한 버전, 다음에 도달할 단계와 그 시점, 그리고 진행 중인지, 완료되었는지, 취소되었는지를 기록합니다.

Automation enrollments API를 사용하면 자동화에 누가 있는지 또는 멤버가 어떤 자동화에 속해 있는지 나열할 수 있습니다. 등록 하나를 조회하거나, 등록을 취소해 해당 멤버의 남은 단계를 중지할 수도 있습니다.

## 엔드포인트

| 엔드포인트 | 요청 |
| - | - |
| [자동화 등록 목록 조회](https://docs.whop.com/ko/api-reference/automation-enrollments/list-automation-enrollments.md) | GET `/automation_enrollments` |
| [자동화 등록 조회](https://docs.whop.com/ko/api-reference/automation-enrollments/retrieve-automation-enrollment.md) | GET `/automation_enrollments/{id}` |
| [자동화 등록 취소](https://docs.whop.com/ko/api-reference/automation-enrollments/cancel-automation-enrollment.md) | POST `/automation_enrollments/{id}/cancel` |

## 속성

**id** `string` *required*

`atoe_` 접두사가 붙은 자동화 등록 ID입니다.

**account\_id** `string` *required*

자동화가 속한 계정의 ID이며, `biz_` 접두사가 붙습니다.

**automation\_id** `string` *required*

`ato_` 접두사가 붙은 자동화 ID입니다.

**created\_at** `string` *required*

멤버가 등록된 시각(ISO 8601 타임스탬프)입니다.

**ended\_at** `string | null` *required*

등록이 종료된 시각(ISO 8601 타임스탬프)입니다. 활성 상태인 동안에는 `null`입니다.

**member\_id** `string` *required*

자동화에 있는 멤버의 ID이며, `mber_` 접두사가 붙습니다.

**next\_run\_at** `string | null` *required*

해당 단계가 이 멤버에 대해 실행되는 시각(ISO 8601 타임스탬프)입니다. 등록이 종료되면 `null`입니다.

**next\_step\_id** `string | null` *required*

멤버의 버전에서 해당 단계의 ID이며, `atos_` 접두사가 붙습니다. 등록이 종료되면 `null`입니다.

**next\_step\_key** `integer | null` *required*

멤버의 버전에서 멤버가 대기 중인 단계의 `key`입니다. 등록이 종료되면 `null`입니다.

**status** `string` *required*

멤버가 자동화를 진행하는 동안은 `active`입니다. 마지막 단계 이후에는 `completed`입니다. 계정이 등록을 취소했거나 자동화를 중지 또는 삭제한 경우 `canceled`입니다.

사용 가능한 옵션: `active`, `completed`, `canceled`

**trigger\_event** `string | null` *required*

멤버를 등록시킨 웹훅 이벤트입니다. `POST /automations/\{id}/trigger`로 등록된 경우 `null`입니다.

사용 가능한 옵션: `payment.succeeded`, `payment.failed`, `membership.activated`, `membership.trial_ending_soon`, `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`

**trigger\_resource\_id** `string | null` *required*

`pay_` 결제나 `mem_` 멤버십처럼 트리거 이벤트의 대상이 된 레코드의 ID입니다. 트리거 요청으로 등록된 경우 `null`입니다.

**updated\_at** `string` *required*

등록이 마지막으로 변경된 시각(ISO 8601 타임스탬프)입니다.

**user\_id** `string | null` *required*

멤버의 사용자 ID이며, `user_` 접두사가 붙습니다. 멤버가 다른 비즈니스인 경우 `null`입니다.

**version** `integer` *required*

멤버가 속한 자동화 버전입니다. 게시를 통해 멤버가 새 버전으로 이동할 때만 변경됩니다.

```json AutomationEnrollment theme={null}
{
	"id": "atoe_xxxxxxxxxxxxxx",
	"account_id": "biz_xxxxxxxxxxxxxx",
	"automation_id": "ato_xxxxxxxxxxxxxx",
	"member_id": "mber_xxxxxxxxxxxxxx",
	"user_id": "user_xxxxxxxxxxxxxx",
	"status": "active",
	"version": 2,
	"next_step_key": 2,
	"next_step_id": "atos_xxxxxxxxxxxxxx",
	"next_run_at": "2026-10-15T09:00:00.000Z",
	"trigger_event": "payment.succeeded",
	"trigger_resource_id": "pay_xxxxxxxxxxxxxx",
	"ended_at": null,
	"created_at": "2026-10-14T09:00:00.000Z",
	"updated_at": "2026-10-14T09:00:05.000Z"
}
```
