---
title: "The published groups: the Public Square, and any group its owner published"
method: GET
path: "/public/groups"
tags: ["Public Square"]
---

# The published groups: the Public Square, and any group its owner published

`GET /public/groups`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/public/groups`
- Auth: none declared

A signed-out visitor belongs to nothing, so this is the whole of their Groups screen.

## Response `200`

OK

- object
  - `data` PublicGroup[], required
    - `groupType` 'personal' | 'shared' | 'system', required
    - `id` string, uuid, required
    - `name` string, required
    - `description` string, nullable, required
    - `iconKey` string, nullable, required
    - `memberCount` integer, required
    - `diaryCount` integer, required
  - `pagination` object, required
    - `nextCursor` string, nullable, required
    - `hasNext` boolean, required
    - `limit` integer, required
    - `totalCount` integer
  - `meta` object, required
    - `requestId` string, required

---

[API](https://skmtc.dev/whatareyoudo/apis/whatcha-api.md) · [All operations](https://skmtc.dev/whatareyoudo/apis/whatcha-api/llms.txt) · [OpenAPI document](https://skmtc.dev/whatareyoudo/apis/whatcha-api/revisions/48dd8a54abea?raw)
