SnozeDevelopers
API referenceSurfaces

List the comments on a surface

Returns every block comment on the surface in creation order, each with its author's display name and avatar. Requires `blocks:read` on the surface, which is resolved per item exactly like reading the surface itself, so comments are never visible more widely than the page.

GET
/v1/workspaces/{workspaceId}/surfaces/{surfaceId}/comments

Authorization

apiKey
headerAuthorizationBearer <snoze_sk_…>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

Path Parameters

workspaceId*string
surfaceId*string

Response Body

Success

application/json
  1. response
data*array<>
Example Request
curl -X GET 'https://api.snoze.dev/v1/workspaces/string/surfaces/string/comments'
Example Response
{  "data": [    {      "id": "string",      "workspaceId": "string",      "surfaceId": "string",      "blockId": "string",      "authorUserId": "string",      "authorDisplayName": "string",      "authorAvatarUrl": "string",      "body": "string",      "content": [],      "resolvedAt": "string",      "createdAt": "string"    }  ]}