---
title: "Share Documents"
method: POST
path: "/documents/share"
tags: ["documents"]
---

# Share Documents

`POST /documents/share`

## Request

- Base URL: `https://api.projectindi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.projectindi.com/documents/share`
- Auth: none declared

Share documents via email with proper family member access control.

Authentication: JWT required
RLS: User must be family member of the child to share their documents

## Request body

- ShareDocumentsRequest
  - `emails` string[], required
  - `document_ids` string[], required
  - `child_id` string, required
  - `message` string, nullable

## Response `200`

Successful Response

- ShareDocumentsResponse
  - `success` boolean, required
  - `queued` boolean, required
  - `job_count` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles.md) - [All operations](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles/llms.txt) - [OpenAPI document](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles/revisions/25a7813e21fd?raw)
