Presigned URLs
Request Presigned File URLs
Generate presigned upload and download URL pairs to transfer large files directly to storage, bypassing the standard multipart request size limit.
POST
Request Presigned File URLs
Standard file submission sends your file’s bytes through the request body of an operation call (
/conversions, /extractions, /transformations, /generations), which is bounded by the platform’s overall request size limit. The Presigned File URLs endpoint offers an alternative path for larger files: you upload directly to storage yourself, then pass a reference to that upload into the operation instead of the raw bytes.
How it works
- Call this endpoint to receive one or more
{uploadURL, downloadURL}pairs. - Upload your file’s bytes to
uploadURLwith an HTTPPUTrequest. - Submit your operation as normal, but instead of attaching the file’s bytes to the
filefield, pass a remote file reference:using the same multipart encoding (type=application/vnd.gonitro.url+json) documented on thefilefield of every operation.
A presigned URL pair is valid for 15 minutes and intended for a single operation submission. Don’t cache or reuse a pair across multiple operations — request a fresh pair each time. Once the 15-minute window has passed, both the upload and download URLs stop working; if your workflow needs more time between requesting a pair and submitting the operation, request the pair immediately before you need it rather than in advance.
Multiple files
Passn to request more than one pair in a single call — useful when an operation (such as Merge) takes multiple input files. Each pair in the response is independent and points at its own storage location.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Number of presigned URL pairs to generate, useful when submitting a job with multiple input files.
Required range:
1 <= x <= 25Response
Presigned URL pairs generated successfully
One or more presigned URL pairs, as requested via the n query parameter.
The generated presigned URL pairs, one per requested file.