Admin

List groups with member counts

Changed on
get/api/admin/groups

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/admin/groups
  • Auth
    HTTP 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