Skip to main content
POST
Enqueue a workspace export
The organization bot token must have the following scopes:
  • workspace:export

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Notion-Version
enum<string>
required

The Admin API version to use for this request.

Available options:
2026-06-01

Path Parameters

space_id
string
required

UUID of the workspace (space) to export.

Body

application/json
export_type
enum<string>
required
Available options:
html,
markdown,
pdf
on_behalf_of_user_email
string
required
collection_view_export_type
enum<string>
Available options:
all,
currentView
flatten_export_filetree
boolean
include_comments
boolean
include_contents
enum<string>
Available options:
everything,
no_files
locale
string
pdf_format
enum<string>
Available options:
A3,
A4,
Legal,
Letter,
Tabloid
teamspace_ids
string[]
time_zone
string

Response

export_job_id
string
required
status
string
required