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

Start free trial

BuddyBoss Manage Connection

buddyboss/manage-connection handles both kinds of link between members: friendships, which are mutual and need accepting, and following, which is one-way and immediate.

A site may have either component enabled without the other, and each action reports which it used.

At a glance

Abilitybuddyboss/manage-connection
ToolsetBuddyBoss — toolset/buddyboss
GroupBuddyBoss › Members & Connections
RequiresAcrossAI Pro, plus BuddyBoss Platform active on the site
Capabilitymanage_options
SafetyWrites data
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Pro 0.9.16 and later

A default that reads as its own inverse

action=list shows confirmed friendships by default. BuddyBoss’s own default is the opposite — it returns only pending requests — which reads as an answer to “who are this member’s connections” while being very nearly the inverse of one.

That is the kind of default worth changing deliberately, and it is changed here. Pass state=pending for outstanding requests.

The two features are genuinely different. A friendship is a negotiation: request sends one, accept and reject answer it, remove ends an established one. Following is a decision one person makes: follow and unfollow take effect at once and the other member is not consulted.

Accepting a request on somebody’s behalf consumes a decision that was theirs. It is occasionally the right administrative action and it is worth being aware that it is one.

Idempotent.

Input

NameTypeRequiredWhat it is
actionstringYeslist, request, accept, reject, remove, follow or unfollow.
user_idintegerYesWhose connections these are.
target_user_idintegerFor the write actionsThe other member.
statestringFor listDefaults to confirmed friendships. Pass pending for outstanding requests.

What comes back

NameTypeWhat it is
connectionsarrayThe connections, for list.
featurestringWhether friendships or following was used.
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:

Who is this member connected to?

It resolves to one call:

{
  "ability": "buddyboss/manage-connection",
  "parameters": {
    "action": "list",
    "user_id": 44
  }
}

Worth knowing

  • Listing shows confirmed friendships, not pending ones — the opposite of BuddyBoss’s default.
  • Friendships are mutual; following is not.
  • Accepting on somebody’s behalf takes a decision that was theirs.
  • Either component can be off independently.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading