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

Start free trial

BuddyBoss Manage Subscriptions

buddyboss/manage-subscriptions manages what a member is subscribed to: forums, topics and groups whose activity sends them notifications.

user_id names whose subscriptions these are rather than defaulting to the account running the call.

At a glance

Abilitybuddyboss/manage-subscriptions
ToolsetBuddyBoss — toolset/buddyboss
GroupBuddyBoss › Notifications & Invites
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

How it works

That parameter is required for a reason that runs in both directions. Subscribing somebody signs them up for email they did not ask for; unsubscribing stops mail they may be relying on.

Neither is neutral, and defaulting to the caller’s own account would make it very easy to do one of them to the wrong person.

The email volume is the practical consideration. A subscription to a busy forum is a notification per reply, and somebody subscribed to several is receiving a great deal of mail attributable to a decision they did not make.

Unsubscribing has the quieter failure: a member relying on topic notifications to do their job stops receiving them and finds out by missing something.

action=list shows them, subscribe adds one, unsubscribe removes one.

Idempotent.

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.
actionstringYeslist, subscribe or unsubscribe.
object_typestringFor the write actionsforum, topic or group.
object_idintegerFor the write actionsWhich one.

What comes back

NameTypeWhat it is
subscriptionsarrayWhat they are subscribed to, for list.
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 this member subscribed to?

It resolves to one call:

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

Worth knowing

  • Subscribing generates email the member did not ask for.
  • Unsubscribing stops mail they may be relying on.
  • The user ID is required so neither happens to the wrong person.
  • A busy forum subscription is a notification per reply.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading