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
  1. body
blockId*string
body*string
guestName?string|null

Response Body

Success

application/json
  1. response
data*
Example Request
curl -X POST 'https://api.snoze.dev/v1/public/shares/string/comment' \  -H 'Content-Type: application/json' \  -d '{  "blockId": "string",  "body": "string"}'
Example Response
{  "data": {    "id": "string"  }}