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

# Update Lead Note

> Update a lead note's content, attachments, or mentions

## Authentication

<CodeGroup>
  ```bash cURL theme={null}
  curl -X PATCH "https://app.journeybee.io/api/v1/leads/{leadId}/notes/{noteId}" \
    -H "Authorization: Bearer your-api-key-uuid" \
    -H "Content-Type: application/json" \
    -d '{"document": {"type": "doc", "content": [{"type": "paragraph", "content": [{"type": "text", "text": "Updated follow-up notes"}]}]}}'
  ```
</CodeGroup>

## Path Parameters

<ParamField path="leadId" type="number" required>
  The unique identifier of the lead
</ParamField>

<ParamField path="noteId" type="number" required>
  The unique identifier of the note to update
</ParamField>

## Request Body Schema

<ParamField body="document" type="object">
  Updated rich text document content in ProseMirror format
</ParamField>

<ParamField body="attachments" type="array">
  Updated array of file attachment UUIDs
</ParamField>

<ParamField body="mentions" type="array">
  Updated array of user IDs to mention (triggers notifications)
</ParamField>

## Response Schema

<ResponseField name="id" type="number">
  The updated note ID
</ResponseField>

<ResponseField name="updated_at" type="string">
  Timestamp of when the note was last updated
</ResponseField>

## Notes

* Requires API key with `write_access` permission
* New mentions trigger notifications
