List the public download links you made for a document.
Your own permalinks of the document, newest first, with their url, expiry, whether they are still active and how often and when they were last opened. Links made by workflow distributions are not listed. Needs View Document Permalinks and read access to the document.
| |
|---|
| Scope | documents:download |
| Asynchronous | No |
| MCP tool | list_document_permalinks |
| Portal permissions | view_document_permalinks |
| Paging | keyset |
| Default order | -permalink_id |
| Sort fields | permalink_id |
Parameters
| Name | In | Type | Required | Description |
|---|
document_id | path | string | Required | |
limit | query | integer | Optional | Default: 50; ≥ 1 |
cursor | query | string | Optional | |
sort | query | string | Optional | Comma-separated sort fields, - for descending. |
Docwize-Version | header | string (date) | Optional | |
If-None-Match | header | string | Optional | Answers 304 when the representation is unchanged (resources that publish an ETag). |
Responses
200 body
| Field | Type | Required | Description |
|---|
items | array of Permalink | Required | |
next_cursor | string or null | Required | |
warnings | array of object | Required | |
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
Permalink
| Field | Type | Required | Description |
|---|
access_count | integer | Required | How often the link was opened. ≥ -2147483648; ≤ 2147483647 |
created_at | string (date-time) or null | Required | |
document_id | string | Required | |
expires_at | string (date-time) or null | Required | |
file_name | string or null | Required | The name the file downloads under. |
is_active | boolean | Required | False once the link was closed. An expired link is still active but opens as 404. |
last_accessed_at | string (date-time) or null | Required | When it was last opened; null if never. |
permalink_id | string | Required | |
url | string | Required | The link to share: opening it needs no sign-in, until it expires or is closed. |