payload carries the conversation as it is after the change.
The payload identifies participants by id only. Use the REST Integrations API to read their details.
Event types
Envelope
Payload
Fields without a value are left out of the payload. No other conversation attribute is ever sent.Lifecycle
When several transitions apply to the same change,
lifecycle carries one of them, in this order: released, reopened, recreated.
When an event is sent
- Only conversations with external participants emit events: types
ONE_EXTERNAL,MANY_EXTERNALandOUTBOUND_ONLY, plus the status change of a hard release. Conversations among Bridge Users only never emit. - A
conversation.updatedwith nochangedFieldsand nolifecycleis not sent. A change to an attribute the payload does not carry produces no event. - Releasing a conversation that has external participants produces two
conversation.updatedevents: the participants change, then thereleasedtransition. - Recreating a conversation produces
conversation.createdfor the new conversation, aconversation.updatedwithlifecyclerecreatedon the old one, and aconversation.updatedon the new one. - A handoff to a Bridge User shows as
statusgoing fromNOT_ASSIGNED_TO_HUMANtoACTIVE, with the Bridge User inparticipantsDelta.added.internals.
Ordering
Delivery may be duplicated or out of order.sequence orders events of one conversation only; do not compare it across conversations.
- Apply a
conversation.updatedonly if itssequenceis greater than the last one you stored for that conversation. - Compare
sequenceas a big integer or as a zero-padded string, never as a floating-point number. - Treat an update for a conversation you have not seen yet as an insert. Conversations that existed before you subscribed appear on their first change.

