Convert documents between formats using SuperDoc. Supports DOCX to PDF, Markdown to DOCX, and HTML to DOCX conversions.
cURL
curl --request POST \ --url https://api.case.dev/superdoc/v1/convert \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file' \ --form from=docx \ --form to=pdf
"<string>"
API key starting with sk_case_
sk_case_
The document file to convert (max 25MB)
Source format of the document
docx
md
html
Target format for conversion
pdf
Converted document
The response is of type file.
file
Was this page helpful?