Skip to main content
POST
/
files
/
downloadlink
JavaScript SDK
await client.files.getDownloadUrls([{id: 123}, {externalId: 'abc'}]);
{
  "items": [
    {
      "downloadUrl": "<string>",
      "id": 4503599627370496
    }
  ]
}

Authorizations

Authorization
string
header
required

Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.

Query Parameters

extendedExpiration
boolean
default:false

if set to true, will extend the expiration period of the link to 1 hour.

Body

application/json

List of file IDs to retrieve the download URL for.

items
object[]
required
Required array length: 1 - 100 elements

Response

The response for a successful files/downloadlink operation.

items
object[]
Last modified on April 23, 2026