Skip to main content
GET
This endpoint requires authentication and the viewFiles permission.

Path Parameters

string
required
The storage provider. One of:
  • s3: Amazon S3 storage
  • local: Local file storage
string
required
The storage key/path of the file

Query Parameters

integer
Number of minutes until the signed URL expires (default: 60)

Response

Returns a string containing the signed URL that can be used to access the file.

Error Responses

object
Error details when the request fails
Common error cases:
  • 400 Bad Request: Invalid provider or key
  • 401 Unauthorized: Missing or invalid access token
  • 403 Forbidden: Missing required permission
  • 404 Not Found: File not found