Workspace Chats

List shared workspace CRM chats

Returns the shared CRM chat view from Entergram frontend DB, deduplicated by canonical Telegram chat id across workspace accounts. Use this for priority, email, tickets, comments, and custom-field workflows. This is not the live Telegram transport view.

get/v1/workspace/chats

Request

  • Base URL: https://api.entergram.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.entergram.com/v1/workspace/chats
  • Auth: API key in header X-API-Key

Query parameters

limitinteger

Number of shared workspace chat rows to return per page.

Example:50
offsetinteger

Zero-based offset for pagination.

updated_sincestring

Optional RFC3339 lower bound. Returns chats whose snapshot or last-message date is newer.

Response

OK

Example response

{
  "data": {
    "items": [
      {
        "connectedAccount": {
          "color": "#2563eb",
          "displayName": "Ops Sample",
          "id": "acct_demo_123",
          "username": "ops_sample"
        },
        "description": "Synthetic example chat for API documentation.",
        "id": "chat_demo_123",
        "lastMessage": {
          "id": "123456",
          "sender": {
            "displayName": "David Hngr",
            "id": "580876383"
          },
          "serviceAction": "setMessagesTTL",
          "text": "Please review the sample request.",
          "timestamp": 1774728948,
          "type": "message"
        },
        "lastMessageText": "Please review the sample request.",
        "lastMessageTimestamp": 1774728948,
        "membersCount": 245,
        "name": "Support Queue Alpha",
        "photoUrl": "https://cdn.example.test/chat-photo.png",
        "status": "active",
        "telegramId": "-1000001234567",
        "telegramUsername": "samplecommunity",
        "title": "Community Alpha",
        "type": "group",
        "unreadCount": 4,
        "username": "support_queue_alpha"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.