Share document group
This endpoint allows API users to share a document group with a user by email, assigning them a specified role. If the user does not have an account, one is created automatically.
Notes
- Viewer - can view, download, and make copies of documents in a document group; sender - can view, download, make copies, invite to sign, and manage document invites.
- Only the owner of the document group can share it.
- A document group can be shared only once with the same user. Attempting to share again (even with a different role) returns an error.
- The user receives an email notification about the shared document group, including a preview link.
- If the user does not exist in the system, a new account is created automatically.
- If the document group was created from a document group template (DGT) that is already shared with the target user (as owner or sender), the sharing is rejected with a conflict error.
post/v2/document-groups/{document_group_id}/roles
Request
- Base URLhttps://api.signnow.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Document group ID.
Request body
Example request
{
"role": "viewer",
"email": "user@email.com",
"message": "Please review the documents."
}Response
Document group successfully shared.
Changes
No recorded changes to this operation across all 1 revision of this API.