---
title: "Share Document"
method: POST
path: "/api/sharing/documents"
tags: ["Sharing"]
---

# Share Document

`POST /api/sharing/documents`

Share a document/batch with a team or user

## Request body

- ShareDocumentRequest
  - `resource_type` string, required
  - `resource_id` string, required
  - `share_with_team_id` string, nullable
  - `share_with_user_id` string, nullable
  - `permission_level` string

## Response `200`

Successful Response

- DocumentShareResponse
  - `id` string, required
  - `resource_type` string, required
  - `resource_id` string, required
  - `resource_name` string, required
  - `shared_by_email` string, required
  - `shared_with_team_name` string, nullable
  - `shared_with_user_email` string, nullable
  - `permission_level` string, required
  - `shared_at` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/qomplement/apis/fastapi.md) · [All operations](https://skmtc.net/qomplement/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qomplement/fastapi/revisions/718de1c0d866/schema)
