Skip to main content
GET
/
files
/
download
Download file
curl --request GET \
  --url https://www.orgo.ai/api/files/download \
  --header 'Authorization: Bearer <token>'
{
  "url": "<string>"
}
Returns a signed download URL for a file.

Query parameters

id
string
required
File ID.

Response

url
string
Signed download URL (expires in 1 hour).

Example

curl "https://www.orgo.ai/api/files/download?id=f47ac10b-58cc-4372-a567-0e02b2c3d479" \
  -H "Authorization: Bearer $ORGO_API_KEY"

Response

{
  "url": "https://storage.example.com/files/..."
}
The returned URL is pre-signed and can be used directly in a browser or with any HTTP client. URLs expire after 1 hour.

Authorizations

Authorization
string
header
required

API key authentication. Get your key at orgo.ai/workspaces

Query Parameters

id
string
required

File ID

Response

Download URL

url
string

Signed download URL (expires in 1 hour)