Uploads a document (DOCX, PDF, HTML, Markdown, MDX, TXT — up to 20 MB) and converts it into a draft page built from Doxbrix blocks.
Imports the file and returns the created draft page.
POST
/import/fileBearer token — `Bearer dxb_live_…`.
The destination project.
The space the imported page lands in.
The file (multipart upload).
Response
201Imported as a draft
cURL
curl --request POST \
--url https://api.doxbrix.io/v1/import/file \
--header 'Content-Type: application/json' \
--data '{
"projectId": "<string>",
"spaceId": "<string>",
"file": "<string>"
}'{ "pageId": "pg_01J8", "title": "Migrated Handbook", "status": "draft", "warnings": [ ] }