---
title: "Share a diary page with the assigned expert(s)"
method: POST
path: "/api/diary/{entry_id}/share"
tags: ["diary"]
---

# Share a diary page with the assigned expert(s)

`POST /api/diary/{entry_id}/share`

Generate a PDF snapshot of the page and share it with the chosen expert(s).

## Path parameters

- `entry_id` string, uuid, required

## Request body

- DiaryShareRequest — Which expert(s) the patient wants to share a diary page with.
  - `to_psychologist` boolean — Share with the assigned psychologist
  - `to_nutritionist` boolean — Share with the assigned nutritionist

## Response `200`

Successful Response

- DiaryShareResultResponse — Outcome of a share action.
  - `shared_with` string[] — Audiences the page was shared with (psi/nutri/shared)
  - `message` string, required — User-facing result message

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/corabea/apis/corabea-api.md) · [All operations](https://skmtc.dev/corabea/apis/corabea-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/corabea/corabea-api/revisions/13c1bce1bdc4/schema)
