Generate Pre-signed URL
Changed onThis method generates links to upload your local file to. Use this presignedUrl from the response to upload your file. Once you upload your file to this presignedUrl using PUT, you can use the url link to access the uploaded file.
Request
- Base URLhttps://api.pdf.co
- URLhttps://api.pdf.co/v1/file/upload/get-presigned-url
- AuthAPI key in header x-api-key
Query parameters
File name for the generated output, the input must be in string format.
The content type of the uploaded file
Timeout for output links in seconds.
Response
Upload and access URLs generated. The file is available only after a successful PUT. Example URLs omit signing credentials; use the complete URLs from your actual response.
Changes
- breaking
the
response's property type changed fromstringtointegerfor status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking