example-data.com

enrollments

enrollments

Page 6 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": 121,
      "userId": 58,
      "courseId": 28,
      "enrolledAt": "2024-08-03T18:23:34.447Z",
      "completedAt": null,
      "progressPercent": 85,
      "createdAt": "2024-08-03T18:22:43.988Z"
    },
    {
      "id": 122,
      "userId": 59,
      "courseId": 63,
      "enrolledAt": "2026-03-30T20:50:27.600Z",
      "completedAt": null,
      "progressPercent": 15,
      "createdAt": "2026-03-30T20:48:18.703Z"
    },
    {
      "id": 123,
      "userId": 59,
      "courseId": 49,
      "enrolledAt": "2025-10-12T11:30:53.528Z",
      "completedAt": null,
      "progressPercent": 24,
      "createdAt": "2025-10-12T11:29:42.951Z"
    }
  ],
  "meta": {
    "page": 6,
    "limit": 24,
    "total": 501,
    "totalPages": 21
  },
  "links": {
    "self": "/api/v1/enrollments?page=6",
    "next": "/api/v1/enrollments?page=7",
    "prev": "/api/v1/enrollments?page=5"
  }
}
Draftbit