---
title: "Create a note attached to a partner, dispute, invoice, or credit memo"
method: POST
path: "/v2/notes"
tags: ["notes"]
---

# Create a note attached to a partner, dispute, invoice, or credit memo

`POST /v2/notes`

## Request

- Base URL: `https://api.stuut.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stuut.ai/v2/notes`
- Auth: HTTP bearer

Create a note attached to a partner, dispute, invoice, or credit memo.

## Request body

- CreateNoteRequest: Request body for creating a note.
  - `content` string, required
  - `partner` string, nullable: Partner ID.
  - `dispute` string, nullable: Dispute ID.
  - `invoice` string, nullable: Invoice ID.
  - `credit_memo` string, nullable: Credit memo ID.

## Response `200`

Successful Response

- Note: A user-authored note attached to exactly one supported entity.
  - `created_at` string, date-time, required
  - `modified_at` string, date-time, required
  - `id` string, required
  - `content` string, required: The content of the note.
  - `pinned` boolean, required: Whether the note is pinned and will show up first.
  - `author_id` string, nullable, required: The ID of the user who created this note.
  - `author` User, required: Lightweight user for nested relationships.
    - `created_at` string, date-time, required
    - `modified_at` string, date-time, required
    - `id` string, required
    - `email` string, required
    - `name` string, required
    - `given_name` string, required
    - `family_name` string, required
    - `profile_picture` string, nullable, required
    - `role` 'admin' | 'member' | 'manager', required
    - `object` string, required: String representing the object's type. Objects of the same type share the same value.
  - `partner_id` string, nullable, required: The ID of the partner this note belongs to.
  - `dispute_id` string, nullable, required: The ID of the dispute this note belongs to.
  - `invoice_id` string, nullable, required: The ID of the invoice this note belongs to.
  - `credit_memo_id` string, nullable, required: The ID of the credit memo this note belongs to.
  - `object` string, required: String representing the object's type. Objects of the same type share the same value.

## Other responses

- `422`: Validation Error

---

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