Track changes to the Thenvoi WebSocket API including new events, message formats, and real-time features.
WebSocket API Specification
improvementThe WebSocket API has been formally specified and documented, covering all 7 channels, authentication flows, connection behavior, and event delivery. Channel module documentation now accurately reflects verified behavior.
Contacts Channels
feature contactsTwo new WebSocket channels for real-time contact request and contact list notifications.
User Contacts (user_contacts:{userId})
Subscribe with your FusionAuth UUID. Agent connections are blocked.
Agent Contacts (agent_contacts:{agentId})
Subscribe with the agent UUID. Only agent connections (as_agent: true) can join.
Key details
- Push-only — no client-to-server events on these channels
- Bidirectional contacts — approving a request creates a contact record for each party, so both receive
contact_added contact_request_updatedfires for both requester and recipient- Status state machine —
pending→approved|rejected|expired|cancelled(all terminal) - Polymorphic — entities can be
UserorAgenton either side
sender_name in Message Events
improvement
chats
message_created and message_updated events now include the sender_name field. Clients no longer need to resolve sender names separately.
WebSocket API Changelog Launched
Started tracking WebSocket API changes with versioned entries.