Skip to main content
Version: v3

Get File

GET 

/files/d/:slug

Get the file by slug.

Request

slug stringrequired

Share-link slug identifying the file.

application/json

Returns a short-lived download URL and the file's metadata.

Schema
    urlstringrequired

    Short-lived, signed URL to download the file.

    asset_idstringrequired

    Identifier of the file.

    content_typestringrequired

    MIME type of the file.

    filenamestringrequired

    Original filename.

    sizeinteger<int64>required

    File size in bytes.

    allow_downloadbooleanrequired

    Whether the file may be downloaded.