Messages

Send a Telegram message

Sends a Telegram message using the chosen connected account. The destination may be an existing canonical chat id or a public Telegram username resolved live by that account.

post/v1/chats/{chat_id}/messages

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

Path parameters

chat_idstring required

Canonical Telegram chat identifier or public Telegram username for a new direct conversation.

Example:@alex_example

Request body

accountIdstring required

Connected account id from the accounts endpoint.

idempotencyKeystring required

Client-supplied idempotency key used to deduplicate retries.

parseModestring

Optional Telegram parse mode.

replyToMessageIdinteger

Optional Telegram message id to reply to.

textstring required

Message text to send.

Example request

{
  "accountId": "acct_demo_123",
  "idempotencyKey": "msg-2026-04-16-001",
  "parseMode": "Markdown",
  "replyToMessageId": 123450,
  "text": "Hello from the public API."
}

Response

Created

Changes

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