messages:companies.{companyId}.conversations.{conversationId}

Servers:
production
Protocols:
wss

Real-time message channel for a specific conversation.

Clients subscribe to receive messages from the digital employee, agents, and system. Clients publish to send user messages.

History: 100 messages retained for 1 hour. See the Centrifugo history documentation for retrieval details.

Parameters
  • companyId
    Type: string
    required

    UUID of the company

  • conversationId
    Type: string
    required

    UUID of the conversation

receive

Receive a message envelope from the server

The server sends MessageEnvelope objects containing the message state and an operation that tells the client how to process it. Messages stream in via replace → … → complete.

send

Send a user message

Publish a user message via subscription.publish().