---
search:
  tags:
    - Content blocks
    - GET
seo:
  description: >-
    Lists content blocks. Use include=specs, conditions, or specs,conditions for
    expanded… Reference for the GET /content-blocks endpoint in the Fuxam API
    v4.
sidebar:
  label: List content blocks
  badge: GET
title: List content blocks
type: openapi-operation
---
Lists content blocks. Use `include=specs`, `conditions`, or `specs,conditions` for expanded fields. Filter by `courseId` (layer ID). Scoped to your integration's institution via Basic Auth credentials.

`GET /content-blocks`

**Responses**

- `200` — Paginated list of content blocks. Each item always includes core fields; optional fields depend on the \`include\` query parameter (see examples).
- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `429` — Too Many Requests — 1000 requests per minute per institution. Includes \`X-RateLimit-Limit\`, \`X-RateLimit-Remaining\`, \`X-RateLimit-Reset\` (ISO-8601), and \`Retry-After\` (seconds).
- `500` — Internal Server Error

Response example, 200 · Default (no include):

```json
{
  "data": [
    {
      "id": "cmqevay3u01654pi9ixfhwfik",
      "name": "Introduction",
      "description": "",
      "type": "Section",
      "status": "PUBLISHED",
      "position": 0,
      "dueDate": null,
      "startDate": null
    }
  ],
  "pagination": {
    "next_cursor": null,
    "has_more": false,
    "limit": 20
  },
  "meta": {
    "requestId": "req_1234567890_abc",
    "timestamp": "2026-06-23T12:00:00.000Z",
    "version": "v4"
  }
}
```

Response example, 200 · include=specs:

```json
{
  "data": [
    {
      "id": "cmqevay3u01654pi9ixfhwfik",
      "name": "Lecture recording",
      "description": "Week 1 video",
      "type": "Video",
      "status": "PUBLISHED",
      "position": 1,
      "dueDate": null,
      "startDate": null,
      "specs": {
        "url": "https://cdn.example.com/video.mp4",
        "durationSeconds": 900
      },
      "expectedLearnTimeMinutes": 15,
      "createdAt": "2026-01-15T10:30:00.000Z"
    }
  ],
  "pagination": {
    "next_cursor": null,
    "has_more": false,
    "limit": 20
  },
  "meta": {
    "requestId": "req_1234567890_abc",
    "timestamp": "2026-06-23T12:00:00.000Z",
    "version": "v4"
  }
}
```

Response example, 200 · include=conditions:

```json
{
  "data": [
    {
      "id": "cmqevay3u01654pi9ixfhwfik",
      "name": "Introduction",
      "description": "",
      "type": "Section",
      "status": "PUBLISHED",
      "position": 0,
      "dueDate": null,
      "startDate": null,
      "conditions": [
        {
          "id": "cond_abc123",
          "requiredBlockId": "block_prev_xyz",
          "conditionType": "SimpleDependency",
          "condition": {
            "requiredStatus": [
              "FINISHED",
              "REVIEWED"
            ]
          }
        }
      ]
    }
  ],
  "pagination": {
    "next_cursor": null,
    "has_more": false,
    "limit": 20
  },
  "meta": {
    "requestId": "req_1234567890_abc",
    "timestamp": "2026-06-23T12:00:00.000Z",
    "version": "v4"
  }
}
```

Response example, 200 · include=specs,conditions:

```json
{
  "data": [
    {
      "id": "cmqevay3u01654pi9ixfhwfik",
      "name": "Lecture recording",
      "description": "Week 1 video",
      "type": "Video",
      "status": "PUBLISHED",
      "position": 1,
      "dueDate": null,
      "startDate": null,
      "specs": {
        "url": "https://cdn.example.com/video.mp4",
        "durationSeconds": 900
      },
      "expectedLearnTimeMinutes": 15,
      "createdAt": "2026-01-15T10:30:00.000Z",
      "conditions": [
        {
          "id": "cond_abc123",
          "requiredBlockId": "block_prev_xyz",
          "conditionType": "SimpleDependency",
          "condition": {
            "requiredStatus": [
              "FINISHED",
              "REVIEWED"
            ]
          }
        }
      ]
    }
  ],
  "pagination": {
    "next_cursor": null,
    "has_more": false,
    "limit": 20
  },
  "meta": {
    "requestId": "req_1234567890_abc",
    "timestamp": "2026-06-23T12:00:00.000Z",
    "version": "v4"
  }
}
```
