Skip to main content

Access & sharing

Find who holds a source, ask the holder for access, decide on requests to your own sources, and share documents or whole sources you hold, always as yourself.

In a workspace where reads follow access scopes, every source and every person's uploads has a holder: the person who connected it or uploaded the files. Nobody else reads it until the holder shares it, or approves an access request. GET /v1/governance/sharing answers available: false in a workspace that is not on access scopes; the routes below then answer 409.

A share is for reading: one document, several, or a whole source (new documents included), with one member, a workspace group or everyone, for a number of days or until stopped. Everything else in the workspace's access rules still applies to the person you share with. A document share holds while you hold the document's source: when it moves to someone else, or you leave, your shares of it end. Asking for access to a document that does not exist and to one you may not see answer alike (404).

Reads need access:read (any member); asking, deciding and sharing need access:write, which works for Contract Management and above, not for a Viewer. The API answers for the person the key or OAuth token belongs to; a key that belongs to no person is refused with 403 and reason: no_person.

GET/v1/governance/directory
GET/v1/governance/access-requests
POST/v1/governance/access-requests
POST/v1/governance/access-requests/:id/approve
POST/v1/governance/access-requests/:id/deny
POST/v1/governance/access-requests/:id/stop
GET/v1/governance/sharing
GET/v1/governance/documents/:id/access
GET/v1/governance/documents/:id/shares
POST/v1/governance/access-requests/:id/second
POST/v1/governance/shares/documents
POST/v1/governance/shares/scopes
POST/v1/governance/shares/pass-on
POST/v1/governance/shares/:kind/:id/stop

Data points share the values of single Spec fields from your own documents, never the documents. The Spec proposes who may read each field; nothing travels until you confirm. A shared value carries its Spec and field, the document type, a date at the precision you choose and your name unless you hide it, and an opaque row key that lines up the shared fields of one record. Sensitive fields stay private.

GET/v1/governance/data-points
PUT/v1/governance/data-points/:specId
POST/v1/governance/data-points/:specId/stop
GET/v1/governance/data-points/shared

Frequently asked questions

Does sharing a source include documents added later?+
Yes. A whole-source share covers every document of the source, including new ones, until it ends.
What happens to my shares when a source moves to someone else?+
Document shares end when you no longer hold the document's source. The new holder decides who reads it from then on.
When does a share that was passed on end?+
When any link behind it breaks: the share it came from ends or is stopped, its permission to pass on is withdrawn, the person who passed it on leaves, or the source has no active holder. The holder is told of every share passed on and can stop it.

Related