---
title: "Create Document Activity"
method: POST
path: "/api/documents/{document_id}/activities"
tags: ["document"]
---

# Create Document Activity

`POST /api/documents/{document_id}/activities`

## Request

- Base URL: `https://app.myriade.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.myriade.ai/api/documents/{document_id}/activities`
- Auth: none declared

Post a comment on a document.

## Path parameters

- `document_id` string, uuid, required

## Cookies

- `session` string, nullable

## Request body

- DocumentActivityCreate
  - `content` string, required
  - `section_anchor` string, nullable
  - `parent_id` string, uuid, nullable
  - `mentions` string[]
  - `quote` string, nullable

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/myriade/apis/myriade-bi-api.md) · [All operations](https://skmtc.dev/myriade/apis/myriade-bi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/myriade/apis/myriade-bi-api/revisions/15b7cb96ca80?raw)
