Resolve or reopen a comment thread
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.PATCH
Toggle a thread between OPEN and RESOLVED.
header
AuthorizationBearer <token>Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.
id*stringthreadId*stringIdempotency-Key?stringMakes retries safe. A retry with the same key and the same request replays the stored response for 24 hours (header Idempotent-Replayed: true); the same key with a different request returns 400.
Length
length <= 255Body
application/json- body
status*stringMark thread as resolved or reopen it
Value in
"OPEN""RESOLVED"200
application/json- response
id*stringdocumentId*string|nullstatus*stringValue in
"OPEN""RESOLVED"visibility*stringValue in
"INTERNAL""SHARED"excerpt*string|nullcreatedAt*unknownupdatedAt*unknownresolvedAt*unknowncreatedBy*|nullresolvedBy*|nullmessages*array<>curl -X PATCH 'https://app.sajn.se/api/v1/documents/string/comments/string' \ -H 'authorization: string' \ -H 'Content-Type: application/json' \ -d '{ "status": "OPEN"}'Example Response
{ "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?