Community

A place for your product's users to post, reply, react and message each other. One community per site or app, on a hosted page, in the Pagebee iPhone app and in a widget inside your product, next to the support messenger. Your coding agent can set it up over MCP. Communities is on the Grow plan.

Switch it on

Open a site or app, then its Community tab, choose an address and switch it on. It lives at pagebee.ai/c/<address> and starts with three channels: Announcements, General and Help. Or ask your agent, with a dev key:

text
Use Pagebee to switch on a community for tally.studio at pagebee.ai/c/tally, access waitlist, with channels
Announcements (announcements), Show and tell, Help and Beta testers (private). Write three short rules.
Then add the community widget to the app and sign members in with our login. Follow pagebee.ai/docs/community.

Channels

KindWho readsWho posts
OpenEveryone in the community (and visitors, if anyone can read before joining)Every member
AnnouncementsEveryoneOwners and moderators. Members reply in the thread
PrivateMembers you add, plus owners and moderatorsThe same people

Rename, reorder, archive and change a channel's kind on the Channels page. Archived channels keep their posts but take no new ones.

Posts

  • Text with light markdown: paragraphs, links, inline code and fenced code blocks.
  • Images: up to 4 per post, PNG, JPEG, GIF or WebP, up to 1 MB each.
  • Link previews: the first link in a post gets a card with the page's title, description and image.
  • Threads: replies sit under the post, one level deep. The post's author and everyone who replied hear about new replies.
  • Reactions: 👍 ❤️ 🎉 😂 🙌 👀 🚀 💡.
  • Mentions: @name (the member's whole name without spaces, or their first name when it's unique) notifies them.
  • Pinned posts sit at the top of their channel. Locked threads take no new replies.
  • Search finds posts in every channel you can read, and members by name, bio or what they're building.

Members and signing in

Members belong to your community, the same way support contacts belong to your site: the same person in two communities is two members, and you can export yours at any time (Members, Export, as CSV or JSON).

People sign in one of two ways:

  1. With a Pagebee account on the hosted page. Switch this off in Settings if your community is only for your app's users.
  2. With your app's own login, through the widget. Your server signs a short token with the site's identity secret, the same token as the messenger's identify:
js
// On your server. Keep the secret out of the browser.
import jwt from "jsonwebtoken";
const token = jwt.sign(
  { sub: user.id, name: user.name, email: user.email, traits: { paid: user.plan !== "free", avatar_url: user.photoUrl } },
  process.env.PAGEBEE_IDENTITY_SECRET, // from get_community_embed or the messenger settings
  { algorithm: "HS256", expiresIn: "7d" },
);

The widget swaps it for a member session (kept hashed by Pagebee) and the person is in. A token that doesn't verify is refused.

Who gets in

AccessWhat happens when someone joins
FreeThey're in
WaitlistThey wait until an owner approves them on the Members page (filter Waiting). They're told when they're in. An invite link skips the waitlist
Paid members onlyOnly members whose token says traits.paid = true, or whom you mark paid. Switched on once Pagebee has checkout for builders

The invite link (pagebee.ai/c/<address>/join/<code>) lets people in without the waitlist. Make a new one in Settings to stop old links working.

Profiles

Name, photo, a short bio and what they're building with a link. Members can turn each kind of notification off and choose a daily or weekly email digest, or none.

Direct messages

Members can message each other one to one. Switch member-to-member messages off in Settings; owners and moderators can still message anyone. Messages are private to the two people: they never show in your support inbox, and your team can't read them.

Moderation

RoleCan
OwnerEverything, including settings and roles. Your workspace's owners, admins and members are owners of its communities
ModeratorPin, lock, hide and delete posts, mute and ban members, work the moderation queue
MemberPost, reply, react, report, message

Every post has a Report button. Reports land in the moderation queue (the Moderation page in the Community tab, and in the community for moderators), with the post and why. Act on one: keep it, hide it, delete it, mute the author for a day, ban them, or dismiss the report.

The spam and abuse filter reads each new post and flags the ones it doubts into the same queue. It never deletes anything. Choose in Settings:

  • Flag for review (the default): the post stays up and waits in the queue.
  • Hold until reviewed: the post is hidden until a moderator keeps it.
  • Off.

It looks for adverts and scams, link floods, fast posting from brand new members, repeated text and abusive language. With AI checks on for Pagebee, borderline posts and first posts from new members are also read by Claude; only the post's text is sent. Owners' and moderators' posts aren't checked.

Notifications

  • In the community and the app: replies to your posts and threads you're in, mentions, messages and announcements.
  • Push to the Pagebee iPhone app for replies, mentions and messages. A push says which community and what kind of thing happened, never who or what they wrote.
  • Email digest, daily or weekly, with what you missed and the most active posts. Each member chooses.
  • Announcements: post in an announcements channel with Notify every member on and every member hears about it in the app, by push and by email. Emails count toward your workspace's support sending limits.

The widget in your product

html
<script defer src="https://api.pagebee.ai/community.js" data-community="tally"></script>
<script>
  window.pagebeeCommunity = window.pagebeeCommunity || { q: [] };
  pagebeeCommunity.q.push(["identify", "<the token your server signed>"]);
</script>

It draws a Community button that opens the community in a panel, beside the messenger's button if you have one. Options:

AttributeDefaultDoes
data-communityrequiredThe community's address
data-positionbottom-leftbottom-left or bottom-right
data-launchertruefalse hides the button, so your own calls open()

window.pagebeeCommunity has open(), close(), toggle(), identify(token), hide() and show(). The widget sets no cookies and stores nothing on your site.

The admin

The Community tab shows members, weekly active members (people who posted, replied, reacted, sent a message or opened the community in the last 7 days), posts and new members per week, plus the member list, channels, the moderation queue and settings.

Over MCP

ToolModeDoes
get_communityeverySettings, channels and this week's stats
list_community_memberseveryMembers, filtered by status, role or a search. Emails for dev keys only
list_community_moderationeveryThe moderation queue
set_up_communitydevSwitch on or change: address, access, rules, switches and starting channels
create_community_channel, update_community_channeldevAdd, rename, reorder, change kind, archive
add_community_channel_memberdevAdd someone to (or take them out of) a private channel
get_community_embeddevThe script tag, identity secret, invite link and steps
post_to_communitydevPost as the owner, pin it, or announce to everyone
update_community_memberdevApprove, ban, mute, change role, mark paid
resolve_community_reportdevAct on the moderation queue

Member API

The hosted page, the iPhone app and the widget all use https://api.pagebee.ai/v1/communities/<address>, from any origin, with Authorization: Bearer and either a Pagebee session or a member token from POST /session. Nothing uses cookies.

EndpointDoes
GET /The community, its channels, the signed-in member and whether they can join
POST /session{ identity }: your signed token for a member token
POST /join, POST /leaveJoin ({ invite } skips the waitlist) or leave
GET /feed?channel=&before=Posts, newest first, with pinned posts for a channel
POST /posts, GET/PATCH/DELETE /posts/:idWrite, read with replies, edit, delete
POST /posts/:id/repliesReply
POST /posts/:id/reactions, DELETE /posts/:id/reactions/:emojiReact
POST /posts/:id/report, POST /posts/:id/moderateReport; pin, lock, hide or delete (moderators)
GET /search?q=, GET /members, GET /members/:idSearch, the directory and a profile
GET/PATCH /me, GET /notificationsYour profile and settings, your notifications
GET/POST /dms, GET /dms/:id, POST /dms/:id/messagesDirect messages
POST /imagesUpload an image as a data URI

Custom domain

Set a domain such as community.tally.studio in Settings, point a CNAME at pagebee.ai, then tell us in the messenger so we can add its certificate. Until then the community stays at pagebee.ai/c/<address>.

Not yet

Live events, voice and video rooms, courses, badges and points, and importing from Discord or Slack.