List Files shares
GET
/api/v1/files/shares
const url = 'https://example.com/api/v1/files/shares';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/shares \ --header 'Authorization: Bearer <token>'Requires a signed-in User with the data scope. It returns the Shares the User can manage, or 403 when access is denied. Route: /api/v1/files/shares. Inputs: . Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Media typeapplication/json
Array<object>
object
access
required
string
created_at
required
Original grant time, in Unix seconds; access changes preserve it (§54/#1034).
integer format: int64
direction
required
string
group_name
string | null
id
required
string
owner_id
required
string
path
required
string
recipient_id
required
string
recipient_kind
required
The stored recipient identity; access resolves Group membership live (#1028).
string
Example
[ { "recipient_kind": "user" }]Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}