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

# Enrollment Requests

> SDK reference for enrollment request operations.

# clinik.enrollmentRequests

Enrollment Requests (FHIR `EnrollmentRequest`) represent requests to enroll a patient in an insurance plan. ClinikAPI simplifies the enrollment workflow — use the [FHIR passthrough](/sdk/fhir-passthrough) for advanced scenarios.

## create

```ts theme={null}
const { data, meta } = await clinik.enrollmentRequests.create(request): Promise<ApiResponse<EnrollmentRequest>>
```

| Field         | Type     | Required | Description                                   |
| ------------- | -------- | -------- | --------------------------------------------- |
| `status`      | `string` | No       | active, cancelled, draft (defaults to active) |
| `created`     | `string` | No       | When created (defaults to now)                |
| `insurerId`   | `string` | No       | Insurer Organization ID                       |
| `providerId`  | `string` | No       | Provider (Practitioner/Organization ID)       |
| `candidateId` | `string` | Yes      | Patient ID (the enrollment candidate)         |
| `coverageId`  | `string` | No       | Coverage ID                                   |

## Example

```ts theme={null}
const { data } = await clinik.enrollmentRequests.create({
  candidateId: 'pt_abc123',
  insurerId: 'org_ins456',
  providerId: 'Practitioner/prac_dr789',
  coverageId: 'cov_plan001',
});
```

## read / update / delete / search

Same pattern as other resources. Update supports `status` only. Search supports `candidateId`, `status`, `insurerId` filters.
