Create a download link for a file
Creates a link that downloads the file without an Authorization header, for 10 minutes. Needs the same access as GET /v4/files/{id}/download: files:read and read access to a record the file belongs to. Each use of the link checks that access again.
The link works until it expires and can be opened more than once. Treat it like a password: anyone who has it can download the file until then.
Available to OAuth access tokens and API keys. Answers 503 with Retry-After when links can't be stored right now.
Parameters
idstringrequiredpathFile ID
Response
Download link created
Invalid id
Invalid API key
Insufficient scope
File not found, unlinked, or with no stored content
Internal server error
Download links are temporarily unavailable
Authorization
bearer_ authhttp (bearer) in headerAPI key or OAuth access token in Authorization header
Scopes: files:read
oauth2_ authoauth2OAuth authorization code flow with mandatory S256 PKCE.
Scopes: files:read
apikey_ authapiKey in queryAPI key in query string
Scopes: files:read
