ReferenceDocumentsDocumentidShares
Share a document with a user or group (owner or admin)
Share a document with a user or group (owner or admin) - PUT /documents/{documentId}/shares. DocDealer REST API reference.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
documentId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/documents/string/shares" \ -H "Content-Type: application/json" \ -d '{ "level": "read", "subjectId": "string", "subjectType": "user" }'{ "ok": true}Who a document is shared with GET
Owner and admins see every share (API-key grants included); anyone who can read the document sees the user and group shares.
Document summary GET
The structured summary extracted after the last validation, with its state: ready, stale (the document changed since; the previous summary is kept),…