Skip to main content

Get File URL

GET

curl -X GET https://app.smartsuite.com/api/v1/shared-files/[fileHandle]/url/ \
-H "Authorization: Token YOUR_API_KEY" \
-H "ACCOUNT-ID: WORKSPACE_ID" \
-H "Content-Type: application/json" \


Returns a public URL to the specified file. Note that the Url lifetime is set to 20 years.

Path Parameters

ParamTypeDescription
fileHandlestringThe file handle of the file you want to return a public URL for

Response Format

ParamTypeOptionalDescription
urlstringNoThe public URL to the file
Example Response
{
"url": "https://…"
}