Start a conversation
Starts a new conversation with the widget’s agent. The session’s tenant, subject, labels, secrets, and pinned parameters are applied server-side.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Create conversation request. The session, tenant, subject, secrets, labels, and pinned parameters all come from the presenting token's session — the browser asserts nothing.
The visitor's opening message.
Response
OK
WidgetConversation is one conversation between a visitor and a widget's agent. The presenting session must have a tenant and subject. Sessions for that same identity share history on the same widget and agent, subject to the current session's permissions. Other conversation IDs return not found.
"obj_01HXKD2E5NQM3T9AYWCFQAZGFV"
STATE_UNSPECIFIED, STATE_RESPONDING, STATE_OPEN, STATE_CLOSED Server-derived display title (e.g. from the opening message).
When the conversation last saw a message or event.