Skip to main content
GET
A document's sections, and its Markdown copy when that may be shown

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer pd_live_…. Someone on your team makes one in the workspace, Settings › API keys; it's shown once. Staging's keys start with pd_test_.

Path Parameters

id
string
required
Maximum string length: 64

Response

The outline and the copy

document
string
required
shown
enum<string>
required
Available options:
passages,
whole
sections
object[]
required
markdown_url
string<uri> | null
required