---
title: "Create Share"
method: POST
path: "/api/shares"
---

# Create Share

`POST /api/shares`

## Request

- Base URL: `https://api.mednode.in` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mednode.in/api/shares`
- Auth: HTTP bearer

## Request body

- ShareCreateRequest
  - `label` string, nullable
  - `expires_in_days` integer
  - `scopes` string[]

## Response `200`

Successful Response

- ShareCreateResponse
  - `id` integer, required
  - `token` string, required
  - `expires_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mednode/apis/mednode-ai-api.md) · [All operations](https://skmtc.dev/mednode/apis/mednode-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mednode/apis/mednode-ai-api/revisions/7e0b84effd6e?raw)
