Get File
GET/files/d/:slug
Get the file by slug.
Request
slug stringrequired
Share-link slug identifying the file.
Returns a short-lived download URL and the file's metadata.
- application/json
- Schema
- Example (auto)
- Example
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.
{
"url": "https://assets-registry.leadconnectorhq.com/5DP4iH6HLkQsiKESj6rh/4DkigiMRTkqxyAcHwGnO/document/YQPAlfnG8Hzptjg59Anv/019ee07c-564f-785b-bc68-305b4fe30768?Expires=1782375949&KeyName=assets-registry-key&Signature=tnFXYal8xDNonieCM6i4HngcUEM=",
"asset_id": "019ee07c-564f-785b-bc68-305b4fe30768",
"content_type": "application/pdf",
"filename": "🗃️ A Sample File - 11.pdf",
"size": 18810,
"allow_download": true
}
{
"allow_download": true,
"asset_id": "019ee07c-564f-785b-bc68-305b4fe30768",
"content_type": "application/pdf",
"filename": "🗃️ A Sample File - 11.pdf",
"size": 18810,
"url": "https://assets-registry.leadconnectorhq.com/5DP4iH6HLkQsiKESj6rh/4DkigiMRTkqxyAcHwGnO/document/YQPAlfnG8Hzptjg59Anv/019ee07c-564f-785b-bc68-305b4fe30768?Expires=1782375949&KeyName=assets-registry-key&Signature=tnFXYal8xDNonieCM6i4HngcUEM="
}