Skip to Content
Xeonr Developer Docs
API SpecificationComments

Create Thread

POST
/xeonr.notes.v1.CommentsService/CreateThread

Creates a new comment thread on a text selection within a note.

Required scope: upl:notes:edit (or a stronger verb of the same family: admin ⊃ edit ⊃ read).

Authorization

AuthorizationBearer <token>

JWT access token obtained via OAuth2 flow or service account

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

bucketId?string
Length1 <= length
noteId?string
Length1 <= length
from?integer
Formatint32
to?integer
Formatint32
quotedText?string
content?string
Length1 <= length
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://notes-api.xeonr.io/xeonr.notes.v1.CommentsService/CreateThread" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "thread": "map[comments:[map[authorId:urn:xeonr:auth:uid:user:3 content:Should we move the launch to week 3? createdAt:2026-10-22T09:30:00Z id:6a1d8e4f-2b9c-4f7a-b3e5-8c0d1e2f3a4b updatedAt:2026-10-22T09:30:00Z]] from:128 id:3b9f1c2e-7d4a-4e6b-8a5c-0f1e2d3c4b5a quotedText:launch at the end of week 2 resolved:false to:154]"
}