example-data.com

enrollments

enrollments

Page 2 of 10.

Showing first 6 of 24 on this page.

curl -sS \
  "https://example-data.com/api/v1/enrollments?limit=25"
const res = await fetch(
  "https://example-data.com/api/v1/enrollments?limit=25"
);
const { data, meta } = await res.json();
import type { Enrollment, ListEnvelope } from "https://example-data.com/types/enrollments.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/enrollments?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Enrollment>;
import requests

res = requests.get(
    "https://example-data.com/api/v1/enrollments",
    params={"limit": 25},
)
data = res.json()
{
  "data": [
    {
      "id": 25,
      "userId": 13,
      "courseId": 30,
      "enrolledAt": "2025-12-30T22:27:07.589Z",
      "completedAt": null,
      "progressPercent": 27,
      "createdAt": "2025-12-30T22:23:57.316Z"
    },
    {
      "id": 26,
      "userId": 14,
      "courseId": 18,
      "enrolledAt": "2026-03-06T07:30:00.088Z",
      "completedAt": null,
      "progressPercent": 71,
      "createdAt": "2026-03-06T07:25:43.588Z"
    },
    {
      "id": 27,
      "userId": 14,
      "courseId": 5,
      "enrolledAt": "2026-05-14T23:46:08.588Z",
      "completedAt": null,
      "progressPercent": 85,
      "createdAt": "2026-05-14T23:42:33.156Z"
    }
  ],
  "meta": {
    "page": 2,
    "limit": 24,
    "total": 501,
    "totalPages": 21
  },
  "links": {
    "self": "/api/v1/enrollments?page=2",
    "next": "/api/v1/enrollments?page=3",
    "prev": "/api/v1/enrollments?page=1"
  }
}
Draftbit