Skip to main content

Get File URL

GET

https://app.smartsuite.com/api/v1/shared-files/[fileHandle]/url/

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

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://…"
}