chat

Get total unread message count

Changed on

Deprecated (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 URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/chat/unread-count
  • Auth
    HTTP 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_dm to the query request parameter roomType

    • info

      added the new enum value staff_team to the query request parameter roomType

    • info

      added the new optional query request parameter roomType