Skip to main content
POST
/
v1
/
convert
Basic conversion
curl -X POST https://api.superdoc.dev/v1/convert?from=docx \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@document.docx" \
  -o output.pdf
This response does not have an example.

Authorizations

Authorization
string
header
required

API key authentication. Keys start with sd_

Query Parameters

from
enum<string>
required

Format of the uploaded file

Available options:
docx,
md,
html
to
enum<string>
default:pdf

Target format for conversion. Defaults to PDF for backward compatibility

Available options:
pdf,
docx

Response

Converted file

The response is of type file.

I