Create embedded signing invite
create_embedded_inviteCreates an embedded invite for signing documents or templates, automatically generating a document when using a template.
Instructions
Create embedded invite for signing a document, document group, template, or template group. For templates and template groups, automatically creates a document/group first, then creates the embedded invite.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | ID of the document, document group, template, or template group | |
| orders | Yes | List of orders with recipients (or a JSON string of the same). | |
| entity_type | No | Type of entity: 'document', 'document_group', 'template', or 'template_group' (optional). Auto-detected if not provided. | |
| name | No | Optional name for the new document or document group (used only when entity_type is template or template_group) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_group_invite_id | No | ID of the created document group embedded invite; populated only when invite_entity is 'document_group', otherwise None | |
| invite_entity | Yes | Type of invite entity: 'document' or 'document_group' | |
| recipient_links | Yes | Array of objects with role, invite id (for document invite) and link for recipients with delivery_type='link' | |
| created_entity_id | No | ID of the entity created from template (None when entity was document/document_group) | |
| created_entity_type | No | Type of created entity: 'document' or 'document_group' (None when entity was document/document_group) | |
| created_entity_name | No | Name of the entity created from template (None when entity was document/document_group) |