Internal Sharing
This scenario demonstrates how to share documents with other users within your Circularo organization. Internal sharing is a fundamental operation that allows for collaboration between team members with different levels of access and permissions. Key features:- Share documents with internal recipients (registered in your Circularo organization)
- Configure different sharing purposes (view, edit, sign, approve, …)
- Control access rights for shared documents
- Track sharing status and history
Prerequisites
Before sharing a document, you need:- A valid authentication token (see the “Authentication & Security” section for details)
- A document to share (see the “Document Management” section for details)
- Knowledge of the internal recipients you want to share with
- Understanding of the different sharing purposes and their implications
Step 1 - Share Document for Viewing
The most basic form of sharing is granting view access to another user. This allows the recipient to view the document without the ability to modify it.- The recipient can view the document content and metadata
- The recipient cannot modify the document
- The sharing status is tracked in the document history
When sharing for viewing, the recipient can only view the document and cannot make any changes to it.
Step 2 - Share Document for Editing
Sharing a document for editing grants the recipient permission to make changes to the document. This is useful when you need collaborative input or modifications from team members.- The recipient can view and modify the document content
- The recipient can update document metadata
- All changes are tracked in the document history
When sharing for editing, the recipient can make changes to the document content and metadata.
Step 3 - Share Document for Approval/Acceptance/Review
Sharing a document for approval (or accept/review) requests the recipient to review and formally approve the document. This is commonly used in review workflows.- The recipient can view the document and provide approval
- The approval is tracked in the document history
- The document’s status is updated once approved
Approval (also accept/review) sharing is ideal for review processes where a formal sign-off is needed but a full signature is not required.
When sharing for approval, the recipient will be prompted to approve the document.
Step 4 - Share Document for Signing
Sharing a document for signing requests the recipient to electronically sign the document. This is essential for formal agreements.- The recipient can view the document and add their electronic signature
- The signature is legally binding and compliant with electronic signature regulations (depending on signature type)
- The signing action is tracked in the document history
- The document’s status is updated once signed
When sharing for signing, the recipient will be prompted to add their electronic signature to the document.
Step 5 - Create Permanent View Link
Sometimes you need to create a permanent link to a document that can be shared with anyone, without requiring authentication. This is useful for public documents or when you need to embed document links in emails.- The link provides view-only access to the document
- The link remains valid indefinitely (unlike regular shares that can expire)
- Anyone with the link can view the document without authentication
- Ideal for public documents or embedding in emails
- shareToken - Located at
shareTokenin the response.- The permanent share token that can be used to create a link to the document.
- Example value:
JSOJIYLbF0ifCKFsxZe1hn3YkRbNNI3DsJ19pGrGghVc8halREdQYHvmOMlpNDMx
- The token can be used to create a link in the format: {CircularoFeUrl}/share?shareToken={shareToken}
- The link remains valid indefinitely and can be shared with anyone
- The link provides view-only access to the document
Internal Sharing Summary
You have successfully shared documents with internal recipient for different purposes:- View: Basic access to view the document without modification rights
- Edit: Permission to view and modify the document
- Approve/Accept/Review: Request for formal approval/acceptance/review of the document
- Sign: Request for electronic signature on the document
- Permanent View Link: Create a permanent link that provides view-only access without authentication
Key Concepts
- Sharing Purpose: Defines what actions the recipient can perform on the document
- Internal Sharing: Sharing with users registered in your Circularo organization
- Share ID: A unique identifier for each sharing action
Next Steps
With your document shared, you can now:- Monitor the status of shared documents
- Send reminders to recipients who haven’t acted on shared documents
- Revoke sharing access if needed
- Explore advanced sharing options like sequential workflows and external sharing
Example Implementation
See our OpenAPI documentation to learn about the full set of API endpoints and parameters.
Please use proper exception handling and function decomposition in your own code. The code is provided for illustrative purposes only and is not intended for production use.