Share document
documentedShare the specified document with new recipients; existing recipients are removed.
POST /public/v2/documents/{id}/shareDocumentsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl 'https://api.rightsignature.com/public/v2/documents/{{$document_id}}/share' \
-X POST \
-H 'Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{"access_token": "{{OAUTH2_ACCESS_TOKEN}}", "shared_with": ["{{$recipient_email_1}}", "{{$recipient_email_2}}"], "document": {}}'