---
title: "Create Note"
method: POST
path: "/api/v1/clients/{entity_id}/notes"
tags: ["notes", "notes"]
---

# Create Note

`POST /api/v1/clients/{entity_id}/notes`

## Request

- Base URL: `https://api.peil.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.peil.app/api/v1/clients/{entity_id}/notes`
- Auth: OAuth 2 (password, token URL `/api/v1/auth/jwt/login`)

## Path parameters

- `entity_id` integer, required

## Request body

- NoteCreate
  - `title` string, nullable
  - `body` string, required

## Response `201`

Successful Response

- NoteResponse
  - `id` integer, required
  - `entity_type` string, required
  - `entity_id` integer, required
  - `title` string, nullable
  - `body` string, required
  - `user_id` integer, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

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