Converts a chunk of content (for example, pasted Markdown or HTML) into Doxbrix blocks without creating a page — useful for previewing a conversion.
Returns the converted blocks.
POST
/import/convertBearer token — `Bearer dxb_live_…`.
Source format: `markdown`, `html`, `mdx`, or `txt`.
The content to convert.
Response
200Converted blocks
cURL
curl --request POST \
--url https://api.doxbrix.io/v1/import/convert \
--header 'Content-Type: application/json' \
--data '{
"format": "<string>",
"content": "<string>"
}'{ "blocks": [ { "type": "h1" }, { "type": "paragraph" } ] }