v1

latestOpenAPI 3.1.02026-07-2664485505.4 KB
Admin API

Enqueue a workspace export

post/v1/spaces/{space_id}/exports

Path parameters

space_idstring required

UUID of the workspace (space) to export.

Headers

Notion-Version'2026-03-11' required

The API version to use for this request. The latest version is 2026-03-11.

Request body

export_type'html' | 'markdown' | 'pdf' required
on_behalf_of_user_emailstring required
collection_view_export_type'all' | 'currentView'
flatten_export_filetreeboolean
include_commentsboolean
include_contents'everything' | 'no_files'
localestring
pdf_format'A3' | 'A4' | 'Legal' | 'Letter' | 'Tabloid'
teamspace_idsstring[]
time_zonestring

Response

export_job_idstring required
statusstring required