example-data.com

enrollments

enrollments

Page 5 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": 97,
      "userId": 47,
      "courseId": 58,
      "enrolledAt": "2025-11-02T07:11:57.523Z",
      "completedAt": null,
      "progressPercent": 99,
      "createdAt": "2025-11-02T07:08:16.973Z"
    },
    {
      "id": 98,
      "userId": 47,
      "courseId": 7,
      "enrolledAt": "2025-03-18T11:23:42.598Z",
      "completedAt": null,
      "progressPercent": 11,
      "createdAt": "2025-03-18T11:19:05.245Z"
    },
    {
      "id": 99,
      "userId": 47,
      "courseId": 31,
      "enrolledAt": "2026-02-05T22:00:11.445Z",
      "completedAt": null,
      "progressPercent": 60,
      "createdAt": "2026-02-05T21:55:28.214Z"
    }
  ],
  "meta": {
    "page": 5,
    "limit": 24,
    "total": 501,
    "totalPages": 21
  },
  "links": {
    "self": "/api/v1/enrollments?page=5",
    "next": "/api/v1/enrollments?page=6",
    "prev": "/api/v1/enrollments?page=4"
  }
}
Draftbit