Skip to content
Message Center

Get Unread Message Count

Returns the current Client's total unread message count and whether any unread message exists. Call it when the app starts, returns to the foreground, switches accounts, or opens the home page to update the unread badge on the message entry.

Use unreads_count for a numeric badge and has_unread for an entry that shows a dot only.

GEThttps://api.lbkrs.com/v6/message/inbox/unreads_count

Responses

HTTP 200The request succeeded. The response body contains the result of the “Get Unread Message Count” operation.
Standard response envelopecodemessagedata
dataobjectdata structure
unreads_countinteger

Total number of unread messages

has_unreadboolean

Whether any unread message exists

Whale Docs