Skip to main content
PUT
{presignedUrl}
curl --request PUT \
  --url "{PRESIGNED_URL}" \
  --header 'Content-Type: application/pdf' \
  --data-binary '@/path/to/your/file.pdf'
(empty body)
Upload your file’s binary content to the presignedUrl received from Get Upload URL.
This request goes to AWS S3, not the Opus API. Do not include the x-service-key header.

Headers

Content-Type
string
required
MIME type matching your file (e.g., application/pdf, image/png, text/csv)

Body

Raw binary data of your file.
The maximum file size for uploads is 10 MB. Requests with files exceeding this limit will be rejected.

Response

Returns HTTP 200 on success with an empty body.
curl --request PUT \
  --url "{PRESIGNED_URL}" \
  --header 'Content-Type: application/pdf' \
  --data-binary '@/path/to/your/file.pdf'
(empty body)