Snoze Developers
API referenceSurfaces

Create Block Comment

POST
/v1/workspaces/{workspaceId}/surfaces/{surfaceId}/blocks/{blockId}/comments
AuthorizationBearer <token>

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

In: header

Path Parameters

workspaceId*string
surfaceId*string
blockId*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/workspaces/string/surfaces/string/blocks/string/comments" \  -H "Content-Type: application/json" \  -d '{    "body": "string"  }'
{  "data": {    "id": "string",    "workspaceId": "string",    "surfaceId": "string",    "blockId": "string",    "authorUserId": "string",    "authorDisplayName": "string",    "authorAvatarUrl": "string",    "body": "string",    "resolvedAt": "string",    "createdAt": "string"  }}