Jobs
Get Upload URL
Generate a presigned URL for uploading files to use as job inputs
POST
If your workflow contains file inputs (type:
file or array_files), you must upload files before executing the job. This endpoint generates a presigned URL for uploading.
Call this endpoint once for each file you need to upload. After receiving the presigned URL, proceed to Upload File to complete the upload.
Headers
Your API authentication key
Body Parameters
The file extension including the dot (e.g.,
.pdf, .docx)Access scope for the file. Options:
all, user, workspace, organization. If omitted, the file is uploaded as unlisted — tracked by the platform but not shown in the file library.The original filename of the file being uploaded (e.g.,
Q4-Report.pdf). Surfaced in the Opus file library to make the file easier to identify later.Target workspace ID for the file. Required when
accessScope is workspace and workflowId is not provided.Target workflow ID for the file. The workspace that owns this workflow becomes the owner of the file. Required when
accessScope is workspace and workspaceId is not provided.Supported File Types
| Extension | Description |
|---|---|
.pdf | PDF documents |
.docx | Word documents |
.csv | CSV spreadsheets |
.xls, .xlsx | Excel spreadsheets |
.txt | Plain text files |
.json | JSON files |
.html | HTML files |
.xml | XML files |
.jpeg, .jpg, .png | Image files |
Response
Temporary URL for uploading your file. Use this in the Upload File step.
Permanent URL to reference this file in your Execute Job request.