getsign_get_document_url
Return a GetSign edit or preview URL for an item document or gallery template.
action=edit opens field mapping. action=preview opens read-only review.
Pass envelope_id + item_id for an item (file_id optional), or template_id +
file_id for a gallery template, never both shapes. When the workflow has
useFileColumn enabled, the document is item-level: pass envelope_id + item_id
with edit_template=False, matching the scope of the save, and tell the user the
editor is open on this item's document rather than a shared template.
edit_template applies only
to action=edit: omitted means shared-template editing. Pass false for this item
only. Preview rejects edit_template and redirects completed items to download.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| file_id | No | ||
| item_id | No | ||
| envelope_id | No | ||
| template_id | No | ||
| confirm_token | No | Retry token from a prior CONFIRMATION_REQUIRED response. Do not invent one. | |
| edit_template | No |