PDF tools

Get a signed URL for a large PDF

post/pdf/upload-url

Request

  • Base URL: https://api.podpdf.com
  • URL: https://api.podpdf.com/pdf/upload-url
  • Auth: API key in header X-API-Key

Request body

content_length_bytesinteger required

Example request

{
  "content_length_bytes": 482913
}

Response

Where to PUT the file

upload_urlstring uri

PUT the PDF here, with the headers in required_headers and no API key.

s3_keystring
expires_atstring date-time
max_bytesinteger

Largest PDF this upload accepts, in bytes.

required_headersobject

Headers the PUT must send exactly, or the signature is rejected.

Example response

{
  "max_bytes": 157286400,
  "required_headers": {
    "Content-Type": "application/pdf"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.