ticket.createdticket.status_changedmessage.incomingmessage.reactionticket.assignee_changed
Objects used inside data
These reusable object shapes are nested under the event data field. Optional fields are omitted when the underlying value is not available.
Ticket object
attribution is captured when a ticket is created. Later messages and reopening preserve the original values; a new ticket does not inherit the previous ticket’s values. Treat it as an extensible string-to-string object and ignore unknown keys. See Ticket attribution for supported keys and limits.
Client object
Message object
fromId is the address in the message’s From header. The client email is taken from a single valid Reply-To address when one is present; otherwise it is taken from From.
Listing context object
Avito messages can include listing context indata.message.context. The same shape appears as messages[].context in Public API ticket history.
Attachment object
Telegram Bot, Telegram Account, MAX, VK, email, Facebook, Instagram, WhatsApp, and Avito messages can contain attachment descriptors. Existing stored messages are not automatically backfilled.
Only
id and kind are guaranteed in standard descriptors. These descriptors do not contain provider URLs, provider identifiers, credentials, or YoLead storage details. VK descriptors identified by source: "vk" use an opaque string id and can include optional contentUrl, previewUrl, and externalUrl fields instead of accessMode. See Message attachments for the two formats and imported-history availability. The Public API does not provide an API-key-authenticated endpoint for downloading attachment bytes. Stored VK video attachments can return an external viewing URL.
Employee object
ticket.created
Sent when a new ticket is created from an incoming message.
When an AI operator automatically takes the request into work, the ticket can already have status: "active" and the AI employee’s assigneeId in this event. Do not assume that every ticket.created event has status new.
message.incoming
Sent when a new incoming message is received for a ticket.
Email example
An incoming email uses the same event envelope and adds the email-specific channel, client, and message fields:message.reaction
Sent when the client’s known reactions to an existing stored message change, including adding, replacing, or removing a reaction. Enable message.reaction in the integration’s webhook event settings; existing integrations are not subscribed automatically.
This event does not create a message, ticket, or unread message. Changes to the company’s own reactions alone do not emit it. The payload contains message identifiers and the client’s reactions, without message text, client details, or employee reactions.
Supported channels
The connected channel must have the required provider permissions and reaction subscriptions enabled. Telegram Bot does not receive client reactions in the current integration mode. MAX, Avito, and Email do not emit this event.
VK and Telegram Account report the state observed when the message is refreshed. Intermediate changes between reads can be combined into one event; this event is not a complete reaction activity log.
Payload fields
All fields below are insidedata and are required.
Reaction keys use these formats:
reactions: [] and a higher revision. The first discovery of a nonempty reaction list emits an event. Discovering an empty list when the client state was previously unknown does not. Missing client reaction information is not treated as removal.
Processing and delivery
An event is queued only after the reaction state is successfully saved and the client’s reaction list has changed. Duplicate or stale provider updates, failed concurrent writes, and updates to technical metadata alone do not emit events. Deduplicate deliveries by the envelopeid. Delivery order is not guaranteed: store the highest processed revision for each persistedMessageId and ignore events with an equal or lower revision. Revisions can have gaps because the same counter also tracks the company’s own reactions and technical updates. They are independent of the message history version field.
The envelope createdAt is the time the delivery job was created, while changedAt describes the reaction change or its observation. Use revision to order updates for a message. A snapshot fetched while sending the company’s own reaction can also discover a changed client reaction list and emit this event.
The standard delivery behavior and signature verification apply. Retries retain the same event id. If saving the reaction succeeds but enqueueing fails, the saved state is not rolled back and the missed event is not automatically replayed.
ticket.status_changed
Sent when a ticket status changes.
Each transition emits one status-change event, including taking a new ticket into work and entering or leaving the assignment queue. The resulting assignment is included in assigneeId; these transitions do not also emit ticket.assignee_changed.
Payload fields:
actor identifies the initiator, while assigneeId identifies the resulting assignee. For example, a manager can assign a ticket to a different employee. Do not use actor to infer assignment.
To track queue transitions, subscribe to
ticket.status_changed. Subscribe to ticket.assignee_changed as well to receive direct employee reassignments. Events are sent only for the event types selected in the integration’s webhook settings.
For example, moving a ticket to the queue produces:
ticket.assignee_changed
Sent when an active ticket is reassigned directly to another employee without changing status. Entering or leaving the queue and taking a new ticket into work use ticket.status_changed instead.
Payload fields:
assigneeId when no assignee exists; status-change events always include their top-level data.assigneeId, using null when unassigned. Public API assignee mutation responses still include nullable previousAssigneeId and newAssigneeId fields.