Skip to main content
The subscribeConversation subscription allows you to listen for real-time updates to a conversation, including new messages and response streams, via a WebSocket-based subscription model.

Signature

Arguments

SubscriptionAuthInput!
required
Authentication credentials for the subscription. See SubscriptionAuthInput.
String!
required
The unique identifier of the conversation to subscribe to.

Response

Returns an array of ConversationUpdateOneOf objects representing conversation updates. See ConversationUpdateOneOf for the schema.

Usage example

A very simple example to get you started is to do the following:

ConversationUpdateOneOf Schema

Learn about conversation update types