Skip to main content
GET
/
api
/
v1
/
files
/
{file_id}
Get download URL
curl --request GET \
  --url https://api.uplint.dev/api/v1/files/{file_id} \
  --header 'Authorization: Bearer <token>'
{
  "status": "SUCCESS",
  "message": "Download URL generated",
  "data": {
    "file_id": "6612f1a2c3b4d5e6f7890abc",
    "download_url": "https://s3.amazonaws.com/bucket/path/to/file?X-Amz-Signature=...",
    "expires_in_seconds": 300,
    "original_filename": "report.pdf",
    "content_type": "application/pdf"
  },
  "timestamp": "2026-02-10T12:00:00Z"
}

Authorizations

Authorization
string
header
required

Pass an API key or JWT token. API keys can be sent as Authorization: Bearer <key> or Authorization: <key>.

Path Parameters

file_id
string
required

The file's unique identifier.

Query Parameters

expires_in
integer
default:300

URL expiration time in seconds.

Required range: 60 <= x <= 3600

Response

Pre-signed download URL.

status
enum<string>
Available options:
SUCCESS
message
string
data
object
timestamp
string<date-time>