Generate file upload URL
Generate pre-signed URL for uploading files to a flow.
Creates a temporary upload URL that allows direct file upload to cloud storage without exposing storage credentials. Each URL is valid for 1 hour.
Upload Process
- Call this endpoint to receive an upload URL
- Use PUT request to upload your file to the returned
upload_url - Save the returned
file_keyto reference the file later - File becomes accessible via the flow immediately after upload
Supported File Types
- Documents: PDF, DOCX, TXT, CSV
- Images: PNG, JPG, GIF
- Archives: ZIP, TAR
- Maximum file size: 100MB
Authorizations
API key authentication. Include your API key in the X-API-Key header as: X-API-Key YOUR_API_KEY
Example:
JWT Bearer token authentication. Include your access token in the Authorization header as: Bearer YOUR_ACCESS_TOKEN
Example:
Path Parameters
Query Parameters
MIME type of file to upload (e.g., 'application/pdf', 'image/png')
Response
Pre-signed upload URL successfully generated
The response is of type Response Generate Upload Url Api Flows Flow Id Upload Url Post · object.