> ## 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 enrollment, bir üyenin bir otomasyondan bir kez geçişidir.

Üyenin hangi sürümde olduğunu, bir sonraki hangi adıma ne zaman ulaşacağını ve hâlâ devam edip etmediğini, tamamlanıp tamamlanmadığını veya iptal edilip edilmediğini kaydeder.

Bir otomasyonda kimlerin olduğunu veya bir üyenin hangi otomasyonlarda olduğunu listelemek için Automation enrollments API'yi kullanın. Ayrıca bir kaydı alabilir ve o üyenin kalan adımlarını durdurmak için bir kaydı iptal edebilirsiniz.

## Uç noktalar

| Uç nokta | İstek |
| - | - |
| [List Automation Enrollments](https://docs.whop.com/tr/api-reference/automation-enrollments/list-automation-enrollments.md) | GET `/automation_enrollments` |
| [Retrieve Automation Enrollment](https://docs.whop.com/tr/api-reference/automation-enrollments/retrieve-automation-enrollment.md) | GET `/automation_enrollments/{id}` |
| [Cancel Automation Enrollment](https://docs.whop.com/tr/api-reference/automation-enrollments/cancel-automation-enrollment.md) | POST `/automation_enrollments/{id}/cancel` |

## Özellikler

**id** `string` *required*

`atoe_` önekli otomasyon kaydı kimliği.

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

Otomasyonun ait olduğu hesabın `biz_` önekli kimliği.

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

Otomasyonun `ato_` önekli kimliği.

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

Üyenin kaydolduğu zaman, ISO 8601 zaman damgası olarak.

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

Kaydın sona erdiği zaman, ISO 8601 zaman damgası olarak. Aktifken `null`.

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

Otomasyondaki üyenin `mber_` önekli kimliği.

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

O adımın bu üye için çalıştığı zaman, ISO 8601 zaman damgası olarak. Kayıt sona erdiğinde `null`.

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

Üyenin sürümündeki o adımın `atos_` önekli kimliği. Kayıt sona erdiğinde `null`.

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

Üyenin kendi sürümünde beklediği adımın `key` değeri. Kayıt sona erdiğinde `null`.

**status** `string` *required*

Üye otomasyonda ilerlerken `active`. Son adımından sonra `completed`. Hesap kaydı iptal ettiğinde ya da otomasyonu durdurduğunda veya sildiğinde `canceled`.

Kullanılabilir seçenekler: `active`, `completed`, `canceled`

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

Üyeyi kaydeden webhook olayı. Üyeyi `POST /automations/\{id}/trigger` kaydettiğinde `null`.

Kullanılabilir seçenekler: `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*

Tetikleyen olayın ilgili olduğu kaydın kimliği; örneğin bir `pay_` ödemesi veya `mem_` üyeliği. Üyeyi bir tetikleme isteği kaydettiğinde `null`.

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

Kaydın en son değiştiği zaman, ISO 8601 zaman damgası olarak.

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

Üyenin kullanıcısının `user_` önekli kimliği. Üye başka bir işletme olduğunda `null`.

**version** `integer` *required*

Üyenin bulunduğu otomasyon sürümü. Yalnızca bir yayınlama üyeleri yeni sürüme taşıdığında değişir.

```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"
}
```


## Related topics

- [Automations API](https://docs.whop.com/tr/api-reference/automations/automation.md)
- [Retrieve Automation Enrollment](https://docs.whop.com/tr/api-reference/automation-enrollments/retrieve-automation-enrollment.md)
- [Cancel Automation Enrollment](https://docs.whop.com/tr/api-reference/automation-enrollments/cancel-automation-enrollment.md)
