SnozeDevelopers
API referencePublic shares

Resolve a public share token to its read-only payload

Atomically claims one use of the token and returns a read-only render of the shared item: a surface's manifest and blocks, or a file's name, type, size, and inline capability URL, each with a minimal meta block carrying the title, access level, and workspace name. No authentication; the share token in the path is the credential. A revoked, expired, or use-exhausted token — and an item that is archived or not publicly renderable — all return the same opaque not-found response.

GET
/v1/public/shares/{token}

Path Parameters

token*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/public/shares/string"
{  "data": {    "type": "surface",    "meta": {      "kind": "folder",      "title": "string",      "icon": "string",      "color": "string",      "allowDownload": true,      "accessLevel": "view",      "workspaceName": "string"    },    "surfaceId": "string",    "surfaceKind": "string",    "manifest": {},    "blocks": [      {        "id": "string",        "workspaceId": "string",        "surfaceId": "string",        "parentBlockId": "string",        "kind": "paragraph",        "orderKey": "string",        "manifest": {},        "layout": {          "x": 0,          "y": 0,          "w": 0,          "h": 0,          "tab": "string"        },        "plainText": "string",        "createdAt": "string",        "updatedAt": "string"      }    ],    "hasMore": true  }}