Skip to content

Create a seven-day, five-account invitation for an item the User owns (§54).

POST
/api/v1/files/invite-links
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.

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"
}
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"
}