example-data.com

enrollments

enrollments

Page 8 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": 169,
      "userId": 85,
      "courseId": 60,
      "enrolledAt": "2026-04-27T23:37:22.712Z",
      "completedAt": null,
      "progressPercent": 30,
      "createdAt": "2026-04-27T23:36:56.669Z"
    },
    {
      "id": 170,
      "userId": 85,
      "courseId": 20,
      "enrolledAt": "2025-03-12T22:38:42.673Z",
      "completedAt": null,
      "progressPercent": 56,
      "createdAt": "2025-03-12T22:36:20.217Z"
    },
    {
      "id": 171,
      "userId": 85,
      "courseId": 18,
      "enrolledAt": "2025-02-03T09:43:34.584Z",
      "completedAt": null,
      "progressPercent": 56,
      "createdAt": "2025-02-03T09:41:01.931Z"
    }
  ],
  "meta": {
    "page": 8,
    "limit": 24,
    "total": 501,
    "totalPages": 21
  },
  "links": {
    "self": "/api/v1/enrollments?page=8",
    "next": "/api/v1/enrollments?page=9",
    "prev": "/api/v1/enrollments?page=7"
  }
}
Draftbit