Skip to main content
GET
/
v1
/
chat
/
{chatId}
curl https://api.vouchmark.com/v1/chat/chat_aBcD... \
  -H "Authorization: Bearer $TOKEN"
{
  "chat": {
    "id": "chat_aBcD...",
    "title": "TEKCIFY TECHNOLOGIES LTD - 6/27/2026",
    "companyId": "cmp_aBcD...",
    "messages": [
      {
        "id": "msg_aBcD...",
        "chatId": "chat_aBcD...",
        "sender": "user",
        "content": "What are my compliance risks?",
        "timestampAt": "2026-06-27T10:00:00Z",
        "groundingSources": null
      },
      {
        "id": "msg_eFgH...",
        "chatId": "chat_aBcD...",
        "sender": "ai",
        "content": "Based on your monitoring data...",
        "timestampAt": "2026-06-27T10:00:02Z",
        "groundingSources": null
      }
    ],
    "createdAt": "2026-06-27T10:00:00Z",
    "updatedAt": "2026-06-27T10:05:02Z"
  },
  "company": {
    "id": "cmp_aBcD...",
    "companyName": "TEKCIFY TECHNOLOGIES LTD",
    "rcNumber": "RC1234567"
  }
}
Returns a single chat with all of its messages, plus a summary of the company it is scoped to.
Vouch AI endpoints require a positive wallet balance, including reads like this one.

Path parameters

chatId
string
required
The chat session ID.
curl https://api.vouchmark.com/v1/chat/chat_aBcD... \
  -H "Authorization: Bearer $TOKEN"
{
  "chat": {
    "id": "chat_aBcD...",
    "title": "TEKCIFY TECHNOLOGIES LTD - 6/27/2026",
    "companyId": "cmp_aBcD...",
    "messages": [
      {
        "id": "msg_aBcD...",
        "chatId": "chat_aBcD...",
        "sender": "user",
        "content": "What are my compliance risks?",
        "timestampAt": "2026-06-27T10:00:00Z",
        "groundingSources": null
      },
      {
        "id": "msg_eFgH...",
        "chatId": "chat_aBcD...",
        "sender": "ai",
        "content": "Based on your monitoring data...",
        "timestampAt": "2026-06-27T10:00:02Z",
        "groundingSources": null
      }
    ],
    "createdAt": "2026-06-27T10:00:00Z",
    "updatedAt": "2026-06-27T10:05:02Z"
  },
  "company": {
    "id": "cmp_aBcD...",
    "companyName": "TEKCIFY TECHNOLOGIES LTD",
    "rcNumber": "RC1234567"
  }
}
Messages are ordered oldest first. company is null if the chat’s company no longer exists.