POST
/
convert
curl --request POST \
  --url https://pro.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
}

Temporary Storage: /convert is purely for temporary file storage into Pulse’s S3 bucket (auto-deletes in 24 hours), and returns a presigned URL for use in /extract. For more robust processing please use your own cloud storage.

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

The response is of type object.