S2S Conversations

Set conversation events

Attach an event log snapshot to the conversation — the same events Gleap.trackEvent() buffers in the SDK flow and attaches when a conversation is created. Scoped to this conversation only (not the contact), so events from other sessions never mix in. Shown to agents in the conversation's "Logs" panel. Each call replaces the previous snapshot (max 500 events, 2 MB). Not delivered via webhooks or the stream. For contact-level events that drive outbound rules, use POST /contacts/{userId}/events instead.

put/s2s/conversations/{conversationId}/events

Path parameters

conversationIdstring required

Request body

Response

No Content

Changes