---
title: "Shared Create Comment"
method: POST
path: "/api/shared/{token}/comments"
---

# Shared Create Comment

`POST /api/shared/{token}/comments`

## 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/shared/{token}/comments`
- Auth: HTTP bearer

## Path parameters

- `token` string, required

## Request body

- DoctorCommentCreateRequest
  - `comment` string, required
  - `target` string: profile | record | summary
  - `record_id` integer, nullable
  - `is_diagnosis` boolean

## Response `200`

Successful Response

- DoctorCommentResponse
  - `id` integer, required
  - `patient_user_id` integer, required
  - `doctor_user_id` integer, nullable
  - `share_id` integer, nullable
  - `record_id` integer, nullable
  - `target` string, required
  - `comment` string, required
  - `is_diagnosis` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `doctor` object, nullable

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