List public links
GET
/api/v1/files/links
const url = 'https://example.com/api/v1/files/links';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/files/links \ --header 'Authorization: Bearer <token>'Requires a signed-in User with the data scope. It returns the public links the User can manage, or 403 when access is denied. Route: /api/v1/files/links. Inputs: . Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Media typeapplication/json
Array<object>
object
download_count
required
integer format: int64
expires_at
string | null
has_password
required
boolean
hide_filenames
required
boolean
id
required
string
last_access
string | null
max_downloads
integer | null format: int64
path
required
string
permissions
required
object
download
required
boolean
linked_notes
required
boolean
upload
required
boolean
view
required
boolean
presentation
required
string
slug
required
string
view_count
required
integer format: int64
Examplegenerated
[ { "download_count": 1, "expires_at": "example", "has_password": true, "hide_filenames": true, "id": "example", "last_access": "example", "max_downloads": 1, "path": "example", "permissions": { "download": true, "linked_notes": true, "upload": true, "view": true }, "presentation": "example", "slug": "example", "view_count": 1 }]Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}