Skip to main content
GET
/
platform
/
files
/
{fileId}
/
download
Download file
curl --request GET \
  --url https://api.rootkey.ai/api-v1/platform/files/{fileId}/download \
  --header 'x-api-key: <api-key>'
"<string>"

Authorizations

x-api-key
string
header
required

ROOTKey API key (rk_live_... for production, rk_test_... for the test network).

Path Parameters

fileId
string
required

Query Parameters

token
string

Shareable-link token (alternative to authenticating via API key)

Response

Binary file stream

The response is of type file.