Create a seven-day, five-account invitation for an item the User owns (§54).
POST
/api/v1/files/invite-links
const url = 'https://example.com/api/v1/files/invite-links';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"access":"example","path":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/files/invite-links \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "access": "example", "path": "example" }'Route: /api/v1/files/invite-links. Inputs: . Do not automatically replay this operation after an uncertain result.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
The path is resolved once to immutable identity; it never becomes authority.
object
access
required
string
path
required
string
Examplegenerated
{ "access": "example", "path": "example"}Responses
Section titled “Responses”Media typeapplication/json
A token is returned only at creation; lists contain no usable credential.
object
expires_at
required
integer format: int64
id
required
string
token
required
string
Examplegenerated
{ "expires_at": 1, "id": "example", "token": "example"}