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. readonlyAuth methods:
OAuthPrivate IntegrationToken type:
Sub-Account TokenRequest
Path Parameters
slugstringrequired
Share-link slug identifying the file.
Example:
4JpFVX1F57j8Response
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-305b4fe30768content_typestringrequired
MIME type of the file.
Example:
application/pdffilenamestringrequired
Original filename.
Example:
🗃️ A Sample File - 11.pdfsizeinteger<int64>required
File size in bytes.
Example:
18810allow_downloadbooleanrequired
Whether the file may be downloaded.
Example:
true