Workspace Chats

Get a shared workspace CRM chat

Returns the shared CRM chat detail from Entergram frontend DB for a canonical Telegram chat id. Prefer this over /live/chats when you need workspace metadata, ticket counts, comments, or custom-field context.

get/v1/workspace/chats/{chat_id}

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/{chat_id}
  • Auth: API key in header X-API-Key

Path parameters

chat_idstring required

Canonical Telegram chat identifier.

Example:-1000001234567

Response

OK

Example response

{
  "data": {
    "commentCount": 2,
    "connectedAccount": {
      "color": "#2563eb",
      "displayName": "Ops Sample",
      "id": "acct_demo_123",
      "username": "ops_sample"
    },
    "description": "Synthetic example chat for API documentation.",
    "id": "chat_demo_123",
    "inviteLink": "https://t.me/+sampleinvite123",
    "lastCommentBody": "Synthetic note for documentation only.",
    "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",
    "openTicketCount": 2,
    "photoUrl": "https://cdn.example.test/chat-photo.png",
    "status": "active",
    "telegramId": "-1000001234567",
    "telegramUsername": "samplecommunity",
    "ticketCount": 3,
    "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.