example-data.com

enrollments

enrollments

Page 3 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": 49,
      "userId": 24,
      "courseId": 42,
      "enrolledAt": "2026-03-05T21:00:19.477Z",
      "completedAt": null,
      "progressPercent": 22,
      "createdAt": "2026-03-05T20:58:47.054Z"
    },
    {
      "id": 50,
      "userId": 24,
      "courseId": 22,
      "enrolledAt": "2026-05-20T01:50:05.514Z",
      "completedAt": null,
      "progressPercent": 43,
      "createdAt": "2026-05-20T01:49:28.855Z"
    },
    {
      "id": 51,
      "userId": 24,
      "courseId": 6,
      "enrolledAt": "2025-08-16T22:15:47.141Z",
      "completedAt": null,
      "progressPercent": 68,
      "createdAt": "2025-08-16T22:11:50.470Z"
    }
  ],
  "meta": {
    "page": 3,
    "limit": 24,
    "total": 501,
    "totalPages": 21
  },
  "links": {
    "self": "/api/v1/enrollments?page=3",
    "next": "/api/v1/enrollments?page=4",
    "prev": "/api/v1/enrollments?page=2"
  }
}
Draftbit