get_doc_pages
Fetch every page of a ClickUp Doc, including content, as a flat list. Read entire multi-page docs in one call without missing sub-pages.
Instructions
Get every page of a Doc, content included, as a flat list.
Use this to read a whole multi-page Doc in one call. Sub-pages (nested under a parent page in the ClickUp v3 response) are flattened into the same list alongside their parent, not dropped. For a single known page, get_doc_page avoids fetching pages you don't need.
Args: doc_id: The Doc's ID, as returned by create_doc. content_format: "text/md" (default) or "text/plain". max_page_depth: How many levels of nested sub-pages to include. -1 (default) returns every page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| content_format | No | text/md | |
| max_page_depth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |