Skip to main content
GET
/
v1
/
chat
/
history
curl "https://api.vouchmark.com/v1/chat/history?page=1&limit=10" \
  -H "Authorization: Bearer $TOKEN"
{
  "chats": [
    {
      "_id": "chat_aBcD...",
      "title": "TEKCIFY TECHNOLOGIES LTD - 6/27/2026",
      "companyId": "cmp_aBcD...",
      "updatedAt": "2026-06-27T10:05:02Z",
      "createdAt": "2026-06-27T10:00:00Z",
      "messageCount": 6,
      "companyName": "TEKCIFY TECHNOLOGIES LTD",
      "rcNumber": "RC1234567"
    }
  ],
  "pagination": {
    "currentPage": 1,
    "totalPages": 1,
    "totalItems": 1,
    "itemsPerPage": 10,
    "hasNextPage": false,
    "hasPrevPage": false
  }
}
Returns the authenticated user’s chats, most recently updated first, with pagination.
Vouch AI endpoints require a positive wallet balance, including reads like this one.

Query parameters

page
integer
default:"1"
limit
integer
default:"10"
curl "https://api.vouchmark.com/v1/chat/history?page=1&limit=10" \
  -H "Authorization: Bearer $TOKEN"
{
  "chats": [
    {
      "_id": "chat_aBcD...",
      "title": "TEKCIFY TECHNOLOGIES LTD - 6/27/2026",
      "companyId": "cmp_aBcD...",
      "updatedAt": "2026-06-27T10:05:02Z",
      "createdAt": "2026-06-27T10:00:00Z",
      "messageCount": 6,
      "companyName": "TEKCIFY TECHNOLOGIES LTD",
      "rcNumber": "RC1234567"
    }
  ],
  "pagination": {
    "currentPage": 1,
    "totalPages": 1,
    "totalItems": 1,
    "itemsPerPage": 10,
    "hasNextPage": false,
    "hasPrevPage": false
  }
}
Each chat is identified by _id. companyName and rcNumber are joined from the chat’s company and may be null if the company no longer exists.