---
title: "List course chapters"
method: GET
path: "/course_chapters"
tags: ["Course chapters"]
---

# List course chapters

`GET /course_chapters`

Returns a paginated list of chapters within a course, ordered by position.

Required permissions:
 - `courses:read`

## Query parameters

- `after` string, nullable — Returns the elements in the list that come after the specified cursor.
- `before` string, nullable — Returns the elements in the list that come before the specified cursor.
- `first` integer, nullable — Returns the first _n_ elements from the list.
- `last` integer, nullable — Returns the last _n_ elements from the list.
- `course_id` string, required — The unique identifier of the course to list chapters for.

## Response `200`

A successful response

- object — The connection type for Chapter.
  - `data` CourseChapterListItem[], required — A list of nodes.
    - `id` string, required — The unique identifier for the chapter.
    - `order` integer, required — The sort position of this chapter within its parent course, starting from zero.
    - `title` string, required — The display name of the chapter shown to students. Maximum 150 characters.
  - `page_info` PageInfo, required — Information about pagination in a connection.
    - `end_cursor` string, nullable, required — When paginating forwards, the cursor to continue.
    - `has_next_page` boolean, required — When paginating forwards, are there more items?
    - `has_previous_page` boolean, required — When paginating backwards, are there more items?
    - `start_cursor` string, nullable, required — When paginating backwards, the cursor to continue.

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `422` — Verification required
- `429` — Too many requests
- `500` — Internal server error

---

[API](https://skmtc.net/whop/apis/whop-api.md) · [All operations](https://skmtc.net/whop/apis/whop-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/whop/whop-api/versions/866821546d67/schema)
