30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

BuddyBoss List Notifications

buddyboss/list-notifications returns a member’s notifications with their IDs, component, action, related item and read state.

user_id is required, and the default includes read notifications.

At a glance

Abilitybuddyboss/list-notifications
ToolsetBuddyBoss — toolset/buddyboss
GroupBuddyBoss › Notifications & Invites
RequiresAcrossAI Pro, plus BuddyBoss Platform active on the site
Capabilitymanage_options
SafetyRead-only — changes nothing
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Pro 0.9.16 and later

How it works

BuddyBoss’s bare route returns unread notifications only. For a member who has read everything that returns nothing — which reads as somebody who was never notified of anything, rather than somebody who is up to date.

Those are opposite conclusions from the same empty response, so the default is changed here and both states are returned. Narrow with state=unread or state=read when you mean one.

The user ID is required for the same reason it is on messages: the underlying route would otherwise default to the administrator running the tool, returning their own notifications as though they were the member’s.

The component filter is useful on a busy community, where a member’s notification list is mostly one component — usually activity or messages — and the interesting ones are buried.

The ID is what buddyboss/manage-notification needs.

Input

NameTypeRequiredWhat it is
user_idintegerYesWhose record this is. Required rather than defaulting, so an administrator’s own account is never acted on by accident.
statestringNoread or unread. Both by default.
component_namestringNoRestrict to one component.
per_pageintegerNoRows per page.

What comes back

NameTypeWhat it is
notificationsarrayEach notification with its ID, component, action, related item and read state.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

What has this member been notified about?

It resolves to one call:

{
  "ability": "buddyboss/list-notifications",
  "parameters": {
    "user_id": 44
  }
}

Worth knowing

  • Read and unread both, unlike the bare route.
  • An empty unread-only response means caught up, not never notified.
  • The user ID is required so an administrator’s own list is never returned instead.
  • Read-only.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading