Create Share Link
DocHub24
DocHub24
Create Share Link
Generate a time-limited public share link for a document.
ActionAI Tool
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
document_id | text | Required | The ID of the document to share. |
ttl_hours | number | Optional | Link expiry in hours (minimum 1, default 24). |
Outputs
| Name | Type | Description |
|---|---|---|
body | object | Share link result. |
id | text | Share link ID. |
url | text | Public share URL. |
token | text | Opaque share token. |
expiresAt | text | Expiry date-time (ISO 8601). |