Uploads a document (DOCX, PDF, HTML, Markdown, MDX, TXT — up to 20 MB) and converts it into a draft page built from Doxbrix blocks.
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_…`.
Response
201Imported as a draft
cURL
curl --request POST \ --url https://api.doxbrix.io/v1/import/file
{ "pageId": "pg_01J8", "title": "Migrated Handbook", "status": "draft", "warnings": [ ] }