SendMessagePayload

Properties

NameType
distinct_idstring

Distinct ID for linking to PostHog Person

messagestring

The message content to send

session_contextSessionContext

Session context captured when creating a new ticket Stored in a JSONField for flexibility

session_idstring

Session ID captured when creating a new ticket Stored as a separate queryable DB field

ticket_idstring | null

Ticket ID to send the message to (null to create a new ticket)

traits{ name: string | null; email: string | null; }

User identification traits

widget_session_idstring

Widget session ID for access control

Community questions

Questions about this page? or post a community question.