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

Start free trial

BuddyBoss List Message Threads

buddyboss/list-threads returns the message threads in one member’s mailbox, with each thread’s ID, participants, unread count, message count and latest excerpt.

user_id is required and names whose mailbox to open.

At a glance

Abilitybuddyboss/list-threads
ToolsetBuddyBoss — toolset/buddyboss
GroupBuddyBoss › Messages
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 has no site-wide message list. Without a user ID the underlying route returns the mailbox of whoever is making the call — which, for an administrator running a tool, is their own inbox returned as though it were the community’s.

That is a confidently wrong answer, so the parameter is required rather than defaulted.

Reading another member’s private correspondence is permitted here because administrators hold bp_moderate. It is still somebody’s private correspondence, and the response names every participant so it is clear whose messages were opened.

The message count per thread is worth reading before any deletion. A subject line says nothing about how much correspondence sits under it, and buddyboss/delete-thread confirms against that count.

Pass box=sentbox for what they sent, or type=unread to narrow.

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.
boxstringNoinbox or sentbox.
typestringNoNarrow to unread.
per_pageintegerNoRows per page.

What comes back

NameTypeWhat it is
threadsarrayEach thread with its ID, participants, unread count, message count and latest excerpt.
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 is in this member’s inbox?

It resolves to one call:

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

Worth knowing

  • There is no site-wide message list. The user ID is required for that reason.
  • This is private correspondence, readable because of bp_moderate.
  • The message count is what a deletion confirms against.
  • Read-only.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading