Chats

List tickets linked to a chat

Returns workspace tickets linked to the provided Telegram chat id. This is the reverse relation for linkedChatIds on ticket responses.

get/v1/chats/{chat_id}/tickets

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

Path parameters

chat_idstring required

Canonical Telegram chat identifier.

Example:-1000001234567

Query parameters

limitinteger

Number of linked tickets to return.

Example:50
offsetinteger

Zero-based offset for pagination.

statusstring

Optional status filter applied after chat linkage.

Example:OPEN
prioritystring

Optional priority filter applied after chat linkage.

Example:HIGH
searchstring

Case-insensitive search over linked tickets.

Example:onboarding

Response

OK

Example response

{
  "data": {
    "items": [
      {
        "assignedTo": {
          "displayName": "Alex Example",
          "email": "alex@example.test",
          "id": "user_demo_123"
        },
        "attachmentCount": 1,
        "closedBy": {
          "displayName": "Alex Example",
          "email": "alex@example.test",
          "id": "user_demo_123"
        },
        "comment": "Sample escalation note",
        "commentCount": 3,
        "createdBy": {
          "displayName": "Alex Example",
          "email": "alex@example.test",
          "id": "user_demo_123"
        },
        "customFields": [
          {
            "columnKey": "source_campaign"
          }
        ],
        "description": "Synthetic customer asked for a follow-up next week.",
        "displayId": "#42",
        "id": "ticket_demo_123",
        "legacyTicketHash": "#TKT-001",
        "priority": "HIGH",
        "status": "OPEN",
        "ticketHash": "#42",
        "ticketNumber": 42,
        "title": "Review onboarding request",
        "userId": "user_demo_123",
        "workspaceId": "workspace_demo_123"
      }
    ]
  }
}

Changes

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