SnozeDevelopers
API referencePublic shares

Comment on a shared page through a share link

Adds a comment to one block of a shared page or note on behalf of an anonymous guest, attributed with the optional `guestName`; the block must belong to the shared surface and the body is trimmed to 4000 characters. Resolving the link here does not consume a use, so commenting is repeatable. No authentication; the share token in the path is the credential, and it must grant comment or edit access — anything else returns the same opaque not-found response.

POST
/v1/public/shares/{token}/comment

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/comment" \  -H "Content-Type: application/json" \  -d '{    "blockId": "string",    "body": "string"  }'
{  "data": {    "id": "string"  }}