Skip to Content

List chat messages 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
/api/v1/documents/{id}/chat

Returns a document's chat messages (newest first), including both external messages (visible to signers) and internal messages (workspace-only). Per-signer private notes are not returned.

Authorization

headerAuthorizationBearer <token>

Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.

Path Parameters

id*string

Query Parameters

Header Parameters

authorization*string

Bearer token for API authentication

Response Body

200

application/json
  1. response
chats*array<>
hasNextPage*boolean
nextCursor*string|null
Example Request
curl -X GET 'https://app.sajn.se/api/v1/documents/string/chat?limit=50' \  -H 'authorization: string'
Example Response
{  "chats": [    {      "id": "string",      "documentId": "string",      "content": "string",      "internal": true,      "createdAt": null,      "updatedAt": null,      "author": {        "type": "USER",        "id": "string",        "name": "string",        "email": "string"      }    }  ],  "hasNextPage": true,  "nextCursor": "string"}

Was this page helpful?