List comment threads on a document
You're viewing API version
2026-09, which is deprecated and stops working on October 1, 2027. To move your integration, see Upgrading to 2026-10.GET
Returns all comment threads attached to a document, with their messages. Filter by status (OPEN, RESOLVED, ALL).
header
AuthorizationBearer <token>Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.
id*string200
application/json- response
threads*array<>curl -X GET 'https://app.sajn.se/api/v1/documents/string/comments?status=%22OPEN%22' \ -H 'authorization: string'Example Response
{ "threads": [ { "id": "string", "documentId": "string", "status": "OPEN", "visibility": "INTERNAL", "excerpt": "string", "createdAt": null, "updatedAt": null, "resolvedAt": null, "createdBy": { "id": "string", "name": "string", "email": "string" }, "resolvedBy": { "id": "string", "name": "string", "email": "string" }, "messages": [ { "id": "string", "threadId": "string", "parentId": "string", "authorType": "USER", "body": "string", "mentions": [ "string" ], "createdAt": null, "editedAt": null, "deletedAt": null, "author": { "id": "string", "name": "string", "email": "string" } } ] } ]}Was this page helpful?