SnozeDevelopers
API referencePublic shares

Mint a read-only realtime ticket for a shared item

Issues a short-lived, single-use ticket that lets the holder of a share link open a receive-only realtime connection for that item, so the page reflects edits without reloading. Requires the admitted-session grant returned by a consuming public read; reconnects reuse that grant without claiming another use. The path token alone is insufficient, and the response carries an opaque channel id rather than the token itself. A revoked, expired, or non-surface token returns the same opaque not-found.

POST
/v1/public/shares/{token}/realtime-ticket

Path Parameters

token*string

Request 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/public/shares/string/realtime-ticket" \  -H "Content-Type: application/json" \  -d '{    "grant": "string"  }'
{  "data": {    "ticket": "string",    "expiresAt": "string",    "workspaceId": "string",    "channel": "string",    "surfaceId": "string",    "updateMode": "snapshot",    "showEditorPresence": true  }}