---
title: "Get a single diary, with a preview of up to 8 group members"
method: GET
path: "/diaries/{diaryId}"
tags: ["Diaries"]
---

# Get a single diary, with a preview of up to 8 group members

`GET /diaries/{diaryId}`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/diaries/{diaryId}`
- Auth: HTTP bearer

## Path parameters

- `diaryId` string, uuid, required

## Response `200`

OK

- object
  - `data` DiaryDetail, required
    - `id` string, uuid, required
    - `groupId` string, uuid, required
    - `groupName` string, required
    - `groupType` 'personal' | 'shared', required
    - `createdBy` string, uuid, required
    - `name` string, required
    - `description` string, nullable, required
    - `iconKey` string, nullable, required
    - `color` string, nullable, required
    - `status` 'active' | 'deleted', required
    - `timezone` string, required
    - `currency` string, nullable, required
    - `entryCount` integer, required
    - `memberCount` integer, required
    - `latestEntryAt` string, nullable, required
    - `createdAt` string, required
    - `updatedAt` string, required
    - `canEdit` boolean, required: Whether the caller may change this diary's settings (name, description, cover, colour): the same diary.update ACL check PATCH /diaries/{diaryId} makes.
    - `members` DiaryMember[], required
      - `id` string, uuid, required
      - `username` string, nullable, required
      - `displayName` string, nullable, required
      - `avatarUrl` string, nullable, required
    - `visibility` 'private' | 'group', required: `group`: every active member of the diary's group may read it. `private`: only its creator (and whoever the group's ACL grants it to by hand).
  - `meta` object, required
    - `requestId` string, required

## Other responses

- `404`: Not found (or not visible to the caller)

---

[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)
