Skip to main content

Groups API Overview

Groups in Tribe Social allow users to create and join communities around shared interests, content, or purposes. The Groups API provides endpoints for creating, managing, and interacting with groups within the Tribe Social platform.

Key Features

  • Create and manage groups
  • Control group visibility and access
  • Add and remove group members
  • Manage group content and collections
  • Retrieve group information

Group Types

Groups in Tribe Social can have different visibility settings:

  • Public: Visible to all users, anyone can join
  • Private: Visible in listings, but requires approval to join
  • Hidden: Not visible in listings, users must be invited

Common Use Cases

  • Creating community spaces for specific topics or interests
  • Organizing content for different audience segments
  • Building exclusive spaces for premium content
  • Managing team collaboration areas

Available Endpoints

EndpointMethodDescription
/api/my-groupsGETGet groups where the user is a member
/api/groupGETGet a specific group by its id or slug
/api/groupPOSTCreate or update a group
/api/group/contentsGETGet contents belonging to a group
/api/group/collectionsGETGet collections belonging to a group
/api/group/:id/user/:userIdDELETERemove a user from a group
/api/groups/platform/:platformIdGETGet groups by platform ID

Authentication Requirements

Most group endpoints require authentication with a valid token. The required role varies by endpoint:

  • Group creation requires creator privileges
  • Group management typically requires admin role
  • Viewing group information may be available to any authenticated user depending on group visibility