Convert documents between formats using SuperDoc. Supports DOCX to PDF, Markdown to DOCX, and HTML to DOCX conversions.
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_
Converted document
The response is of type file.
Was this page helpful?
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>"