Skip to main content
POST
/
sign
/
conversions
Convert File to PDF
curl --request POST \
  --url https://api.gonitro.dev/sign/conversions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file=@example-file
{
  "jobID": "01234567-89ab-cdef-0123-456789abcdef",
  "status": "running",
  "jobStatusURL": "https://api.gonitro.dev/sign/conversions/jobs/01234567-89ab-cdef-0123-456789abcdef/status"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
file
file
required

The file to convert to PDF, provided as binary data.

Response

File conversion initiated successfully

jobStatusURL
string
required

URL to poll the current status of the file conversion job

Example:

"https://api.gonitro.dev/sign/conversions/jobs/01234567-89ab-cdef-0123-456789abcdef/status"

jobID
string

Unique identifier for the conversion job

Example:

"01234567-89ab-cdef-0123-456789abcdef"

status
enum<string>

The current status of the file conversion Job

Available options:
running,
completed,
failed
I