POST /convert
Converts a document uploaded asmultipart/form-data. It is the natural route for web forms and clients that already handle attachments.
##Request
file.
Query params
enum
default:"auto"
pdf, docx, csv, txt, xlsx, pptx, zip. With auto it is detected by extension and then by content-type.boolean
default:"true"
Cleans repeated headers, control lines and Markdown noise.
enum
default:"markdown"
markdown (raw body) or json (object with embedded metadata).file
required
The document to convert. Format detected by file name and
content-type.Examples
Answer
By defaulttext/markdown plus billing headers. See Response and headers.
For maximum network efficiency on large uploads, use
POST /convert/raw with content-encoding: gzip or zstd. multipart doesn’t compress as well.