# Add a note about a company

```http
POST https://trydimmi.com/api/v1/companies/{company}/notes
```

## Authorization

Send an API token as `Authorization: Bearer <token>`.
The token needs: `contacts:write`.

## Path parameters

- `company` (string, required): Id of the company, starting with cmp_, such as cmp_01jx2m8k4t. Find it with GET /companies.

## Body

- `body` (string, required): The text of the note, at most 10000 characters.

## Response 201 (Created)

- `data` (object, required)
  - `author` (object, required)
    - `id` (string, required): The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
    - `name` (string, required): The display name of the teammate who wrote the note.
  - `body` (string, required): The note's text.
  - `company_id` (string | null, required): Id of the company the note is about, starting with cmp_. Null when the note is about a contact.
  - `contact_id` (string | null, required): Id of the contact the note is about, starting with ctc_. Null when the note is about a company.
  - `created_at` (string, required): When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
  - `editable` (boolean, required): True when the member reading may rewrite or delete the note: its author may, and anyone may when it has no author.
  - `id` (string, required): The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
  - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.
  - `pinned` (boolean, required): True when the note is pinned.
  - `updated_at` (string, required): When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

## Response default (Error)

- `code` (string, required): Stable code for programs to tell errors apart, such as validation_failed or internal_error.
- `errors` (object): Each rejected field mapped to its messages. Only present when the input was invalid.
- `message` (string, required): What went wrong, in words safe to show a person.

## Example request

```bash
curl --request POST \
  --url 'https://trydimmi.com/api/v1/companies/{company}/notes' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "body": "<string>"
}'
```

## Example response

```json
{
  "data": {
    "author": {
      "id": "<string>",
      "name": "<string>"
    },
    "body": "<string>",
    "company_id": "<string>",
    "contact_id": "<string>",
    "created_at": "2026-11-01T09:30:00Z",
    "editable": true,
    "id": "<string>",
    "object": "<string>",
    "pinned": true,
    "updated_at": "2026-11-01T09:30:00Z"
  }
}
```

---

Index of all dimmi docs: https://trydimmi.com/llms.txt (full text: https://trydimmi.com/llms-full.txt)
