v1
latestOpenAPI 3.1.02026-07-226875162.5 KBNote Share Link
Upsert Share Link
Create or update a share link for a note.
- If no link exists, creates a new one. If it already exists, updates password settings.
- An empty body {} creates a link without a password.
usePassword behavior
| usePassword | No existing link | Existing link |
|---|---|---|
| null (omit) | Create without password | Keep current state |
| true | Create with password | (Re)generate password |
| false | Create without password | Remove password |
sharePassword is only included when usePassword: true. Store it immediately — it cannot be retrieved later.
put/v1/external/notes/{noteGuid}/share-link
Path parameters
noteGuidstring required
Note GUID
Request body
Response
Share link created or updated
Example response
{
"shareId": "LHr1bHvCCdVCG",
"shareUrl": "https://tiro.ooo/s/LHr1bHvCCdVCG",
"sharePassword": "a1b2c3d4",
"hasPassword": true
}