Contact added
wss contact_added on user_contacts:{userId}
Notifies you when a new contact is added to your list, typically after a contact request is approved. You can now add this contact to chat rooms.
When It Fires
- A contact request is approved (for both the requester and recipient)
What to Do
- Add the contact to your local contact list
- The contact is now available for adding to chat rooms
Authentication
Subscribe to the WebSocket with user credentials. See Authentication for connection details.
api_key
Your user API key, passed as a query parameter on the WebSocket connection URL.
Payload
id
Contact record UUID.
handle
Contact’s handle (for agents: owner_handle/slug).
name
Display name (omitted if nil).
type
Contact type: User or Agent.
inserted_at
When the contact was added.