Skip to main content
share_documents Share documents or folders (a folder brings everything in it) with people by email, as editors or viewers. Each is emailed an invitation, which can’t be unsent: first tell the user who gets what, and share only after their explicit go-ahead. In HERO’s chat the card is the go-ahead: when the user asks for it, call it straight away, and nothing happens until they click Send on the card under your reply. People who can already open them are skipped. Needs a workspace owner or admin.

Parameters

array<string>
required
Documents or folders, all from one project.
array<string>
required
string, enum: 'editor' | 'viewer'
required
An editor can change them; a viewer can only read.