---
title: "Update a Note activity"
method: PUT
path: "/activity/note/{id}/"
tags: ["activities.notes"]
---

# Update a Note activity

`PUT /activity/note/{id}/`

**`note_html` and `note`**: setting one overwrites the other. If both are provided, `note_html` takes precedence. `note_html` supports rich-text HTML; `note` is plaintext only.

A note can be pinned or unpinned by setting `pinned` to `true` or `false`.

## Path parameters

- `id` string, required

## Request body

- UpdateNoteActivity
  - `activity_at` string, date-time, nullable
  - `attachments` object[], nullable
    - `content_type` string, nullable
    - `filename` string, required
    - `url` string, uri, required
  - `contact_id` string, nullable
  - `note` string, nullable
  - `note_html` string, nullable
  - `pinned` boolean, nullable
  - `title` string, nullable

## Response `200`

Successful response

- ActivityBase
  - `_type` string, required
  - `activity_at` string, date-time, nullable, required
  - `attachments` Attachment[], required
    - `content_type` string, nullable, required
    - `filename` string, nullable, required
    - `size` integer, nullable, required
    - `thumbnail_url` string, nullable
    - `url` string, required
  - `comment_summary` CommentSummary
    - `comment_count` integer, required
    - `thread_id` string, required
  - `contact_id` string, nullable, required
  - `created_by` string, nullable, required
  - `created_by_name` string, nullable
  - `date_created` string, date-time, required
  - `date_updated` string, date-time, required
  - `id` string, required
  - `lead_id` string, nullable, required
  - `note` string, required
  - `note_html` string, required
  - `note_mentions` string[], required
  - `organization_id` string, required
  - `pinned` boolean, required
  - `pinned_at` string, date-time, nullable, required
  - `source` 'ui' | 'api' | 'import' | 'clipper' | 'email' | 'suggestion' | 'segment-integration' | 'customerio-integration' | 'calendly-integration' | 'ai' | 'whatsapp' | 'webform', required
  - `title` string, nullable, required
  - `updated_by` string, nullable, required
  - `updated_by_name` string, nullable
  - `user_id` string, nullable, required
  - `user_name` string, nullable
  - `users` string[], required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Not found

---

[API](https://skmtc.net/close/apis/close-api.md) · [All operations](https://skmtc.net/close/apis/close-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/close/close-api/revisions/0dcf3303e9d7/schema)
