Get Cross-Account Unread Summary
Beta/v1/messaging/notifications/unread-summaryThis endpoint is idempotent. Learn more
Returns the caller's unread totals broken down by account, covering every account they belong to and not just the one they are acting in.
Use it to show a user that activity is waiting for them elsewhere before they switch accounts. Each tally counts unseen notifications and unseen account announcements together.
objectstringenumValues:notification_unread_summaryResource type identifier.
totalintegerCombined unread total across all of the caller's accounts.
Per-account unread tallies.
Every account the caller belongs to is listed, including accounts with nothing unread.
objectstringenumValues:listResource type identifier.
page_infoobjectPagination metadata.
next_page_urlstringnullableRelative URL that fetches the next page of results.
previous_page_urlstringnullableRelative URL that fetches the previous page of results.
has_next_pagebooleanWhether more results exist after this page.
has_prev_pagebooleanWhether results exist before this page.
dataarray of notification_unread_summary_accountResources in this page.
objectstringenumValues:notification_unread_summary_accountResource type identifier.
accountentitynullableThe account this tally is for.
idstringUnique identifier for the entity.
objectstringenumValues:entityResource type identifier.
typestringenumValues:accountactorentityThe resource kind that this entity references, as an object-type value (e.g. user, account).
Unlike object — which is always entity — this names the underlying resource the id points to.
namestringnullableHuman-readable display name for the entity (e.g. a user's full name, a sales order number).
handlestringnullableSecondary human-readable identifier (e.g. email address, username, redacted API key value).
unreadintegerNumber of unseen notifications and account announcements the caller has in this account.
Responses
Successful response for Get Cross-Account Unread Summary