POST
/
convert
curl --request POST \
  --url https://api.runpulse.com/convert \
  --header 'Content-Type: <content-type>' \
  --header 'x-api-key: <api-key>'
{
  "presigned_url": "https://bucket-name.s3.amazonaws.com/path/to/file.pdf?[signed-parameters]",
  "s3_object_url": "https://bucket-name.s3.amazonaws.com/path/to/file.pdf",
  "statusCode": 200
}

Authorizations

x-api-key
string
header
required

API key for authentication

Headers

x-api-key
string
required

API key for authorization

Content-Type
enum<string>
required
Available options:
application/pdf

Body

application/pdf · file

The PDF file to be converted as binary data

Response

200
application/json
Successfully converted PDF file
presigned_url
string
required

Temporary URL for downloading the processed file

Example:

"https://bucket-name.s3.amazonaws.com/path/to/file.pdf?[signed-parameters]"

s3_object_url
string
required

S3 object URL (without signatures)

Example:

"https://bucket-name.s3.amazonaws.com/path/to/file.pdf"

statusCode
integer
required
Example:

200