Session Events

SessionEvents subscribes a user to real-time session events. Use this method to receive a stream of events (e.g., messages, join/leave notifications) as they happen in the specified session. Request: SessionEventsRequest (specify session name and username) Response: stream of SessionEventsResponse (real-time event updates) HTTP: GET /v1/conversation/sessions/{name}/events

Path parameters

sessionstringRequired
The session id.

Query parameters

sessionstringOptional
Session is the session object to join.
channelintegerOptional
Channel is the channel to subscribe to for session events.

Response

OK
eventstring
Event is the event message for the session.
messageobject
Message is the message associated with the event.

Errors

400
Bad Request Error