DorkOS
ApiRoomsIdCanvasDocumentidThread

Open a canvas document’s discussion, or re-open it

POST
/api/rooms/{id}/canvas/{documentId}/thread

The first call posts one message from the room naming the document and records which message heads the discussion; every call after that hands back the discussion that is already there and posts nothing. So two people pressing "Discuss" at the same moment — or the same person pressing it next week, on another device — all end up in one conversation. It wakes nobody: the message addresses no one and starts no agent’s turn, exactly as putting the document on the table did. Replies are ordinary thread replies.

Path Parameters

id*string
Length1 <= length
documentId*string
Length1 <= length

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/rooms/string/canvas/string/thread"
{  "threadRootEntryId": "string",  "created": true}