Skip to main content
Every callback has one flat type, and data.id names the entity that type is about. See Callbacks & signature verification for verification, retries, and replying to an interaction. Ignore a type you don’t know. New types can be added in /v1.

Envelope

Headers

Event types

app.uninstalled

A company admin uninstalled your App, or Workchats disabled it. The token has already stopped working. Revoking the token yourself with POST /oauth/revoke sends nothing.

user.created, user.updated and user.deactivated

A person your App can see joined, changed their name, email or title, or was deactivated or removed. Needs users:read.
data.id is the person. Re-read them with GET /v1/users/{id} to see what changed.

conversation.renamed, conversation.archived and conversation.deleted

A group or channel your bot is in, or was in a moment ago, was renamed, archived (groups) or deleted.
data.id is the conversation. Re-read it with GET /v1/conversations/{id}. That call returns conversation_not_found after a delete.

app.added_to_conversation and app.removed_from_conversation

Your bot was added to, or removed from, a group or channel. This is the type that replaces the old conversation.created, which was always about your bot being added and never about a new conversation appearing.
data.id is the group or channel. After the removal event, sends to it return 403 not_in_conversation.

interaction

A person clicked an action button (one with an action_id) on a message your bot posted. It is the only event whose response body is read. See Interactions for delivery, the private reply and double clicks.
A 2xx response with {"ephemeral": "…"} (plain text, at most 500 characters) shows that text to the person who clicked, on the first attempt only.