---
title: "Service: /members/{member}/groups/{group}/uris/{uri}/documenttoc [GET]"
source: https://dev.pageseeder.com/api/services/get-document-toc-GET.html
description: "Gets a document TOC"
last_updated: 2026-08-07T17:09:54+10:00
document_type: api_endpoint
operation_id: publication-GET
resource_id: publication
path_template: /members/{member}/groups/{group}/uris/{uri}/documenttoc
http_method: GET
api_category: publication
implementation_version: null
api_since: 5.9600
deprecated_since: null
obsolete_since: null
api_support: supported
cache_control: null
generated_at: 2026-08-07
tokens: ~520
---

# /members/\{member\}/groups/\{group\}/uris/\{uri\}/documenttoc \[GET\]

## Description

Returns the [Table of Contents (TOC)](../../reference/glossary/table_of_contents.md) for the document.

Output the partial TOC for a [publication](../../reference/glossary/publications.md) including this document only (no ancestors). If URI is not in a publication, output the TOC for the URI only with no publications.

> **Note:** If publicationid is not specified, then the publications for this document (that the current user can access) are ordered alphabetically by display title (then by ID) and the first publication is used.

## Parameters

| Name | Description | Required | Type | Default |
| --- | --- | --- | --- | --- |
| position | The position/occurrence number of the document in the publication | no | integer | `1` |
| publicationid | The publication `ID` for the TOC, empty means standalone. | no | publicationid |  |
| version | The publication version | no | string |  |

## Permission

Requires guest or higher.

## Response

```lang-xml

<toc>
  ...
  [<publication ...>]
    <publication-tree uriid="55578"
                      title="Functionality"
                      content="true"
                     [last-edited="2021-04-16T16:46:31+10:00"]>
      <part level="3" uriid="55578">
        <heading-ref level="2"
                     title="Account"
                     fragment="1-2"
                     index="1"
                     numbered="true"
                     prefix="1.2.1"
                     canonical="1.2.1."
                    [last-edited="2021-04-14T12:40:11+10:00"]/>
      </part>
      <part level="3" uriid="55578">
        <heading-ref level="2"
                     title="Equations"
                     fragment="6"
                     index="1"
                     numbered="true"
                     prefix="1.2.2"
                     canonical="1.2.2." />
      </part>
    </publication-tree>
  [</publication>
  <publication .../>]
  ...
</toc>
```

## Error Handling

No specific errors expected for this service.

