v1

latestOpenAPI 3.1.02026-08-066378446.6 KB
Document Operations

Update public link

<small>Requires an API token with the Document Manager role.</small>

Updates the document's active public link. The link URL never changes; to get a fresh URL, delete the link and create a new one.

Returns a 404 response when the document has no active public link.

patch/documents/{document}/public-link

Path parameters

documentstring required

The document UUID

Request body

expires_atstring date-time nullable

When the link stops working. Pass null for a link that never expires

Example request

{
  "expires_at": "2026-10-19T12:00:00Z"
}

Response

ShareableLinkResource

Example response

{
  "data": {
    "uuid": "5cbe6ed1-49a9-40dc-a1c4-9e5a3c9a08f0",
    "url": "https:app.fynk.com/share/5cbe6ed1-49a9-40dc-a1c4-9e5a3c9a08f0?token=...",
    "expires_at": "2026-10-19T12:00:00Z",
    "message": "Hi Emily, please review the updated contract."
  }
}