v1

latestOpenAPI 3.0.22026-07-261040577.4 KB
Docs

Export doc

Export the content body of a doc in either HTML or Markdown format. Use the type path parameter to specify the desired format: html or markdown.

This is the only GET endpoint that returns the content body of a doc. List docs, List personal docs, and Get doc return metadata only (no body text).

Returns the same identifying fields as Get doc, plus either content_html or content_markdown with the full document content.

get/v1/docs/{doc_id}/export/{type}

Path parameters

doc_idstring required

Unique identifier of the doc.

type'html' | 'markdown' required

Response

200