Chats

Create an internal chat comment

Creates a plain-text internal note authored by the API key creator.

post/v1/chats/{chat_id}/comments

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

Path parameters

chat_idstring required

Canonical Telegram chat identifier.

Example:-1000001234567

Request body

bodystring required

Plain-text internal note for the chat.

Example request

{
  "body": "Synthetic account. Route billing questions to the assigned owner."
}

Response

Created

Example response

{
  "data": {
    "author": {
      "displayName": "Alex Example",
      "email": "alex@example.test",
      "id": "user_demo_123"
    },
    "body": "Escalated to the sample operations queue.",
    "id": "chat_comment_demo_123",
    "telegramChatId": "-1000001234567"
  }
}

Changes

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