v2
latestOpenAPI 3.0.12026-07-266846393.5 KBDocument, File & System
Generate Pre-signed URL
This 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.
get/v1/file/upload/get-presigned-url
Query parameters
namestring
File name for the generated output, the input must be in string format.
contenttypestring mime type
The content type of the uploaded file
timeoutstring
Timeout for output links in seconds.
Response
Success.
Example response
{
"status": "success",
"message": "Success",
"url": "https://pdf-temp-files.s3.us-west-2.amazonaws.com/output.pdf",
"jobId": "6YSZD3U872ZYYFEDMQCQSGEEO8YSF5WA",
"credits": 2,
"remainingCredits": 1480582,
"duration": 33
}