Create a public link (view or edit mode)
Internal pages (every space by default) can only be shared by the space owner or a workspace owner/admin, with confirmInternal=true; every link expires. The public read and save re-check revocation, expiry, trash and, for internal pages, the approval on every request, and answer 404 for a dead link. Anonymous edit links are turned off unless the deployment sets NOTES_ALLOW_EDIT_LINKS=true: mode=edit is refused with 403 edit_links_disabled, and existing edit links serve as view links (the public read reports mode=view and the public save returns 403).
View as MarkdownAuthorization
bearer In: header
Path Parameters
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/v1/pages/497f6eca-6276-4993-bfeb-53cbbbba6f08/shares" \ -H "Content-Type: application/json" \ -d '{}'{ "share": { "token": "string", "mode": "view", "created": "2019-08-24T14:15:22Z", "expiresAt": "2019-08-24T14:15:22Z", "approved": true }}