> ## Documentation Index
> Fetch the complete documentation index at: https://docs.caret.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Note

> Update details of a specific note

### Path Parameters

<ParamField path="id" type="string" required>
  The unique identifier of the note
</ParamField>

### Request Body

<ParamField body="title" type="string">
  The title of the meeting note
</ParamField>

<ParamField body="visibility" type="string">
  Visibility/permission setting for the note. Options: `workspace`, `public`, `only-me`, `private`, `shared`

  Note: `private` is an alias for `only-me`, `shared` is an alias for `public`
</ParamField>

<ParamField body="userWrittenNote" type="string">
  Note content written by the user in markdown format
</ParamField>

<ParamField body="tagIds" type="string[]" deprecated>
  Deprecated: Tags have been removed. This parameter is accepted but ignored for
  backward compatibility
</ParamField>

### Response

<ResponseField name="note" type="Note">
  The updated note object with all fields (same schema as [Get
  Note](/api-reference/notes/get-note))
</ResponseField>

<RequestExample>
  ```bash curl theme={null}

  curl --request PATCH \
   --url https://api.caret.so/v1/notes/note_123456789 \
   --header 'Authorization: Bearer <your_api_key>' \
   --header 'Content-Type: application/json' \
   --data '{
  "title": "Updated Meeting Title",
  "visibility": "workspace",
  "userWrittenNote": "# Meeting Notes\n\nKey discussion points..."
  }'

  ```
</RequestExample>

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "note": {
      "id": "note_123456789",
      "title": "Updated Meeting Title",
      "kind": "online",
      "status": "completed",
      "createdAt": "2024-01-28T10:00:00Z",
      "updatedAt": "2024-01-28T14:30:00Z",
      "visibility": "workspace",
      "tags": [],
      "participants": [],
      "totalDurationSec": 3600,
      "userWrittenNote": "# Meeting Notes\n\nKey discussion points...",
      "enhancedNote": "Meeting summary content...",
      "summary": "Meeting summary content...",
      "transcripts": [],
      "calendarEvent": null,
      "inputLanguage": "en",
      "translationLanguage": null,
      "meetingApp": null
    }
  }
  ```

  ```json 404 Not Found theme={null}
  {
    "error": {
      "code": "not_found",
      "message": "Note not found"
    }
  }
  ```

  ```json 500 Internal Server Error theme={null}
  {
    "error": {
      "code": "internal_server_error",
      "message": "Failed to update note details"
    }
  }
  ```
</ResponseExample>
