chat
Get total unread message count
Changed onDeprecated (7 Oct 2026). Apps from that date count unread conversations from the room list instead. Kept for older builds until the minimum app version passes that release.
get/api/chat/unread-count
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.rewritelifestyle.ai/api/chat/unread-count
- AuthHTTP bearer
Query parameters
roomType'coach_dm' | 'group' | 'client_dm' | 'client_group' | 'pc_lead' | 'staff_dm' | 'staff_team'
Example:coach_dm
Count only rooms of this type. Omitted, every room the user belongs to counts.
Changes
- info
endpoint deprecated
- info
added the new enum value
staff_dmto thequeryrequest parameterroomType - info
added the new enum value
staff_teamto thequeryrequest parameterroomType
- info
- info
added the new optional
queryrequest parameterroomType
- info