chat
chat
Get Conversations With Users
Get all conversations for a user with full user details included. Optimized with eager loading to avoid N+1 queries.
unread_only=true (used by NotificationBell) pre-filters to just the conversations with unread messages BEFORE the expensive per-conversation enrichment. For a heavy inbox (1000+ conversations) loading the whole list just to count notifications was ~2.5s; unread-only is typically a handful.
get/chat/conversations-with-users/{user_id}
Path parameters
user_idstring required
Query parameters
unread_onlyboolean
Headers
authorizationstring nullable
Response
Successful Response
{"stackTrail":"paths:/chat/conversations-with-users/{user_id}:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
No recorded changes to this endpoint across all 1 revision of this API.