Skip to main content
FilesVersion: v3

Get File

GET/files/d/{slug}

Get the file by slug.

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:files.readonly
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Path Parameters

slugstringrequired

Share-link slug identifying the file.

Example:4JpFVX1F57j8

Response

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

urlstringrequired

Short-lived, signed URL to download the file.

Example:https://assets-registry.leadconnectorhq.com/5DP4iH6HLkQsiKESj6rh/4DkigiMRTkqxyAcHwGnO/document/YQPAlfnG8Hzptjg59Anv/019ee07c-564f-785b-bc68-305b4fe30768?Expires=1782375949&KeyName=assets-registry-key&Signature=tnFXYal8xDNonieCM6i4HngcUEM=
asset_idstringrequired

Identifier of the file.

Example:019ee07c-564f-785b-bc68-305b4fe30768
content_typestringrequired

MIME type of the file.

Example:application/pdf
filenamestringrequired

Original filename.

Example:🗃️ A Sample File - 11.pdf
sizeinteger<int64>required

File size in bytes.

Example:18810
allow_downloadbooleanrequired

Whether the file may be downloaded.

Example:true