← All guides · updated

How to get a channel chat id in MAX: three working ways

Step by step: how to find out the chat id of a MAX channel or private chat — via bot events, long polling of updates and checking a known id.

Short answer

The chat id in MAX comes from a bot update: add the bot to the channel, post anything and read the event. In Postomat you do not hunt for it manually — the service pulls the id once the bot token is pasted.

Automatic publishing in MAX needs a chat identifier — the chat_id. Unlike Telegram there is no “copy ID” button in the interface, and since June 2026 the bot’s chat list is no longer served through GET /chats. Here are the ways that work.

Way 1. Bot events (the main one)

When the bot is added to a channel (or a user writes to the bot), the platform sends an Update event whose object contains the chat with its chat_id. Events arrive in two ways:

  • A webhook (POST /subscriptions) — the platform pushes events to your URL. The way for production.
  • Long polling (GET /updates) — you poll the events yourself. Fits a one-off chat_id fetch when connecting.

Practical order: create the bot → add it as a channel administrator → start receiving events → find the chat object and its identifier in the payload.

Way 2. Checking a known chat_id

If the id is already at hand (an tool suggested it, for instance), its correctness is checked with a membership request: GET /chats/{chatId}/members/me with the bot token. A 200 response means the bot is in the chat — publishing is possible. This is exactly the check Postomat runs when connecting a channel.

Way 3. Automatic capture by the tool

In Postomat you do not need to hunt for the id manually: paste the bot token and send any message to the channel — the service pulls the id from the bot’s update and offers it for connection. If the automation does not fire (the bot was just created and there are no events yet), enter the chat_id by hand — the connection form accepts it.

Details

  • A channel’s chat_id is usually a large negative number — do not confuse it with the bot’s own id, and do not “fix” the minus sign.
  • A private chat_id (for notifications to yourself) is obtained the same way: write the bot any message — the event will carry the id of your dialogue.
  • The token is passed only in the Authorization header; the platform no longer accepts it in query parameters.
  • An id from one bot works with any bot that is in the same chat.
  • If updates do not arrive, check that the bot is an administrator and that the publishing right is enabled.

Connect your MAX channel in Postomat — the chat_id fills in automatically or from your hint.

Start free See plans

Frequently asked

Why does GET /chats no longer work?

The platform dropped the bulk chat list in June 2026 as part of its anti-spam policy. Identifiers now come only from events with real interaction.

Does the chat_id change when the channel is renamed?

No, the chat identifier is permanent. Only the name and the link change.

Can I publish to a user’s private chat?

Yes, if the user started a dialogue with the bot — by their personal chat_id the bot can send notifications.

Why are no events arriving?

Most often the bot is not a chat administrator or the publishing right is off; check the channel settings.

Try it on your own channels

Free plan: one channel and ten posts a month, no card required.

Start free Pricing

This guide is also available in Russian — the whole knowledge base exists in both languages.

Contact us

We reply to the e-mail address you give within one business day. Never send passwords or tokens.