Docs
Add File Link
POST /files/{fileId}/file-links
POST
/files/{fileId}/file-linksCreates a public link to the file, which anyone with its URL opens without signing in; a file link is View only. On a doc, filterValues pre-sets its filters and allowedValues limits what a viewer may pick (JSON objects keyed by the doc's filter ids); both are refused on any other file. Optional expiresAt must be in the future. Requires Manage on the file. Returns the link, whose id is the public credential.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| fileId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Optional | |
| level | string | Optional | |
| expiresAt | date-time | Optional | |
| filterValues | string | Optional | |
| allowedValues | string | Optional |
Response
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| level | string| null | |
| expiresAt | date-time| null | |
| createdAt | date-time | |
| createdBy | string| null | |
| filterValues | string| null | |
| allowedValues | string| null |