Admin
List groups with member counts
Changed onget/api/admin/groups
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.rewritelifestyle.ai/api/admin/groups
- AuthHTTP bearer
Query parameters
status'active' | 'inactive' | 'all'
Defaults to active. "inactive" is the past-groups list (GRP-04).
Response
unknown required
Example response
{
"success": true,
"groups": [
{
"id": 1,
"name": "January 2026 Cohort",
"memberCount": 12
},
{
"id": 2,
"name": "VIP Clients",
"memberCount": 5
}
]
}Changes
- info
added the new optional
queryrequest parameterstatus
- info