Skip to main content
GET
Get File Download Url
Treat the link as a secret. Anyone holding it can download the file until it expires, so do not log it or put it somewhere public. Request a fresh one when you need it rather than storing it.

Authorizations

Authorization
string
header
required

Your API key as a Bearer token, e.g. Authorization: Bearer vk_….

Path Parameters

file_ref
string
required

The file's label or id.

Response

Successful Response

url
string
required

A temporary link to the file's contents. Treat it as a secret: anyone holding it can download the file until it expires.

expires_in_seconds
integer
required

How long the link stays valid.

Example:

300