POST documents add_user
Sharing
Share A Document With A User
POST
POST documents add_user
Grant another user download access to a Document. The caller must be the document’s uploader (or have org-level admin permission). The added user appears in the document’s
downloaders list.Authorizations
Path Parameters
Body
application/json
Response
200 - application/json
OK
Pattern:
^/api/v1/documents/[a-f0-9]{16}$Example:
"/api/v1/documents/0d77065796f8d173"
An (optionally empty) array of references to users that the document has been shared with. These users are able to download (but not modify) the document.
The document filename (e.g., "report.pdf")
The size of the document in bytes.
Required range:
x >= 1A reference to the user that uploaded and owns the document, e.g., {"$ref": "/api/v1/users/5891ee65711c4d5e"}. Only owners can modify a document (with some exceptions in the case of organization accounts configured for multiple users - please contact us if you'd like to discuss this use case).

