v50

latestOpenAPI 3.1.0Proprietaryraw.githubusercontent.com2026-05-1759238438.1 KB
Sharings

Grant document access

Grant access to one or more recipients.

post/v1beta/documents/{document_id}/share

Path parameters

document_idstring required

Document ID.

Example:doc_01h2xcejqtf2nbrexx3vqjhp41

Document ID.

Request body

custom_messagestring nullable

Custom message to include in the notification email.

should_send_notificationboolean nullable

Whether to send email notifications.

Response

Success

document_idstring

Document ID.

failedinteger

Number of failed grants.

successfulinteger

Number of successful grants.

totalinteger

Total number of recipients processed.