Get secure file URL
Files
Get File URL
Generates a signed URL for viewing or downloading a file. URLs expire after the specified time.
POST
Get secure file URL
Overview
Generate a signed URL for uploading or downloading files. Signed URLs provide secure, time-limited access to file storage without exposing credentials.URL Types
| Action | Use Case |
|---|---|
download | Get URL to download existing file |
upload | Get URL to upload new file |
Request Fields
| Field | Required | Description |
|---|---|---|
action | Yes | download or upload |
fileId | For download | ID of file to download |
fileName | For upload | Name of file to upload |
contentType | For upload | MIME type of file |
Download Example
Get a URL to download an existing file:Upload Example
Get a URL to upload a new file:URL Expiration
Signed URLs expire after a short period (typically 15-60 minutes). Use them promptly after generation.Example: Download File
Example: Upload File
Related Endpoints
- Get File - Get file metadata
- List Files - Browse files
- Delete File - Remove uploaded file
Authorizations
API key obtained from FlexPortal dashboard
Headers
Your tenant identifier
Body
application/json