# DHIS2 Enrollment API

**Canonical:** https://apis.io/apis/dhis2/dhis2-enrollment-api/  
**Provider:** DHIS2 — https://apis.io/providers/dhis2/  
**Base URL:** https://academy.dhis2.org/api  
**Documentation:** https://developers.dhis2.org

DHIS2 Enrollment API is one of 48 APIs that [DHIS2](https://apis.io/providers/dhis2/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Enrollment. The published artifact set on APIs.io includes an OpenAPI specification.

The enrollment API from DHIS2 — 8 operation(s) for enrollment.

## Operations (11)

| Method | Path | Summary |
|---|---|---|
| GET | `/enrollment/v1/course/{course_id}` | Read enrollment information for a particular course |
| GET | `/enrollment/v1/enrollment` | Gets a list of all course enrollments for a user |
| POST | `/enrollment/v1/enrollment` | Enrolls the currently logged-in user in a course |
| GET | `/enrollment/v1/enrollment/{course_id}` | Create, read, or update enrollment information for a user |
| GET | `/enrollment/v1/enrollment/{username},{course_id}` | Create, read, or update enrollment information for a user |
| GET | `/enrollment/v1/enrollment_allowed/` | Returns the enrollments allowed for a given user email |
| POST | `/enrollment/v1/enrollment_allowed/` | Creates an enrollment allowed for a given user email and course id |
| DELETE | `/enrollment/v1/enrollment_allowed/` | Deletes an enrollment allowed for a given user email and course id |
| GET | `/enrollment/v1/enrollments/` | **Use Cases** |
| GET | `/enrollment/v1/roles/` | Enrollment v1 roles list |
| POST | `/enrollment/v1/unenroll/` | Enrollment v1 unenroll create |

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/dhis2/openapi/dhis2-enrollment-api-openapi.yml

## Other DHIS2 APIs (12)

- [DHIS2 Agreements API](https://apis.io/apis/dhis2/dhis2-agreements-api/)
- [DHIS2 Api/v1 API](https://apis.io/apis/dhis2/dhis2-api-v1-api/)
- [DHIS2 Api/v2 API](https://apis.io/apis/dhis2/dhis2-api-v2-api/)
- [DHIS2 Bookmarks API](https://apis.io/apis/dhis2/dhis2-bookmarks-api/)
- [DHIS2 Certificates API](https://apis.io/apis/dhis2/dhis2-certificates-api/)
- [DHIS2 Change Email Settings API](https://apis.io/apis/dhis2/dhis2-change-email-settings-api/)
- [DHIS2 Cohorts API](https://apis.io/apis/dhis2/dhis2-cohorts-api/)
- [DHIS2 Commerce API](https://apis.io/apis/dhis2/dhis2-commerce-api/)
- [DHIS2 Completion API](https://apis.io/apis/dhis2/dhis2-completion-api/)
- [DHIS2 Course Experience API](https://apis.io/apis/dhis2/dhis2-course-experience-api/)
- [DHIS2 Course Home API](https://apis.io/apis/dhis2/dhis2-course-home-api/)
- [DHIS2 Course Live API](https://apis.io/apis/dhis2/dhis2-course-live-api/)

## Tags

Enrollment

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/dhis2` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/dhis2/dhis2-enrollment-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/dhis2/.
