Create a private share link
ncrypt_create_share_linkUpload a document to Ncrypt and return a private share link. The recipient must enter their name and a valid email address before they can read a single page, the file is encrypted at rest, and downloads are denied until the owner approves them. Supply the file as base64 content, a public https URL, or a path in the owner's own storage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | A public https URL the file can be downloaded from. | |
| name | No | Project or document name shown in the link preview. | |
| label | No | Who this share is for, for example a name or a channel. It is only shown to the owner and is used to tell shares apart in the view history. | |
| title | No | Document title. | |
| filename | Yes | The file name including its extension. | |
| storage_path | No | A path inside the owner's own Ncrypt storage, for example tenant/<tenant id>/<document id>/source.bin. | |
| allow_forward | No | Whether the viewer may re-share the link. Defaults to false. | |
| download_mode | No | Whether the viewer may ask for a download. Defaults to request. | |
| content_base64 | No | The file contents encoded as base64. Best for small files. |