---
title: "Create a new company note"
method: POST
path: "/admin/companies/{company_id}/notes"
tags: ["Admin", "Notes", "Companies"]
---

# Create a new company note

`POST /admin/companies/{company_id}/notes`

## Request

- Base URL: `https://api.equipmentshare.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.equipmentshare.com/admin/companies/{company_id}/notes`
- Auth: HTTP bearer

Create a public or private company note with optional pinning, attributed to the authenticated user. Visibility defaults to public. Requires company_note_create. Machine tokens require X-M2M-USER-ID and can create public notes only.

## Path parameters

- `company_id` integer, required

## Request body

- CompanyNoteCreate
  - `company_note_type_id` integer, required
  - `is_pinned` boolean
  - `note_description` string, nullable
  - `note_text` string, nullable
  - `visibility` 'public' | 'private': Public or private visibility. Defaults to public.

## Response `201`

- CompanyNote
  - `company_id` integer
  - `company_note_id` integer
  - `company_note_type` CompanyNoteType, nullable
    - `company_note_type_id` integer
    - `name` string
  - `date_created` string, date-time
  - `date_updated` string, date-time, nullable
  - `is_pinned` boolean
  - `note_description` string, nullable
  - `note_text` string, nullable
  - `note_type_id` integer
  - `updated_by` integer, nullable
  - `user` UserNote, nullable
    - `email` string, nullable
    - `first_name` string, nullable
    - `last_name` string, nullable
    - `user_id` integer
  - `user_id` integer
  - `visibility` 'public' | 'private'

## Other responses

- `400`: Machine token requests private visibility or omits X-M2M-USER-ID
- `401`: Unauthorized
- `403`: Caller is ineligible or lacks company_note_create
- `422`: Invalid request body or missing required fields

## Changes

- **2026-11-23** `3a976dcf6a97`: 1 info
  - added the new `private` enum value to the request property `visibility`
- **2026-11-23** `3216dc24760a`: 4 info
  - added the new optional request property `visibility`
  - added the non-success response with the status `403`
  - added the non-success response with the status `422`
  - added the optional property `visibility` to the response with the `201` status

[Operation history](https://skmtc.dev/equipmentshare/apis/es-api/changes/admin/companies/:company_id/notes/post.md)

---

[API](https://skmtc.dev/equipmentshare/apis/es-api.md) - [All operations](https://skmtc.dev/equipmentshare/apis/es-api/llms.txt) - [OpenAPI document](https://skmtc.dev/equipmentshare/apis/es-api/revisions/40651e1558ac?raw)
