Skip to main content
PUT
cURL
Where is my uploaded file? This PUT normally returns HTTP 200 with an empty body and no file URL. To open, download, or process the file, use the url returned by the first GET request. The presignedUrl pasted here is the upload destination, not the access link.
Step 1: Generate a pre-signed URL with contenttype=application/octet-stream. Save both returned links.
  1. Paste the entire presignedUrl into the URL field, including its query string. Do not paste the access url, remove query parameters, decode values, or append a slash.
  2. Select the file from your computer and send the PUT. This request sends raw file bytes with Content-Type: application/octet-stream. Do not add your PDF.co API key.
  3. HTTP 200 with an empty body means storage accepted the upload. Use the original access url for subsequent PDF.co requests.
If the signed URL expires, generate a new one and paste it here. If storage rejects the signature, check that the URL is complete and that the generation content type matches this upload. Full PUT reference. The documented 100 MB processing guidance still applies to each input file.

Body

application/octet-stream

The selected local file, sent as raw bytes rather than multipart form data or a file path.

The body is of type file.

Response

Storage accepted the upload. The response body is normally empty; no new access URL is returned.