Groups
User-created groups/guilds with configurable visibility, member limits, and roles.
Groups let users form communities within your app. They support public/private visibility, configurable member limits, and role-based membership.
SDK usage
Create a group
Search public groups
Join/leave a group
Get my groups
List group members
Client API reference
| Method | Path | Description |
|---|---|---|
POST | /client/groups | Create a group |
GET | /client/groups/mine | List user's groups |
GET | /client/groups/search | Search public groups |
POST | /client/groups/:id/join | Join a group |
POST | /client/groups/:id/leave | Leave a group |
GET | /client/groups/:id/members | List group members |
MCP tools
| Tool | Description |
|---|---|
amba_create_group | Create a group with name, visibility, and max members |
amba_list_groups | List all groups in a project |
Example
Database tables
| Table | Purpose |
|---|---|
groups | Group definitions with name, visibility, metadata |
group_members | Membership records with user ID, group ID, and role |