List only the current owner's invitations and joined people (#1035).
GET
/api/v1/files/invite-links
const url = 'https://example.com/api/v1/files/invite-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/invite-links \ --header 'Authorization: Bearer <token>'Route: /api/v1/files/invite-links. Inputs: path. Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”path
string
Responses
Section titled “Responses”Media typeapplication/json
Array<object>
An owner-only view of the link’s bounded use count and account history.
object
access
required
string
expires_at
required
integer format: int64
id
required
string
item_id
required
string
join_count
required
integer format: int64
joined
required
Array<object>
Joined Users remain visible after revocation; their grants are independent.
object
display_name
required
string
share_id
required
string
user_id
required
string
path
required
string
revoked
required
boolean
Examplegenerated
[ { "access": "example", "expires_at": 1, "id": "example", "item_id": "example", "join_count": 1, "joined": [ { "display_name": "example", "share_id": "example", "user_id": "example" } ], "path": "example", "revoked": true }]