For the complete documentation index, see llms.txt. This page is also available as Markdown.

Append Note

Add HTML to the end of an existing note without replacing its current content. This is the safest way for automations (log shippers, tool integrations, scheduled jobs) to add entries to a running note — there is no read-modify-write race with other writers. Each append records a new entry in the note's version history.

PATCH /v1/notes/{uuid}/append
Content-Type: application/json

Path parameters

Parameter
Description

uuid

UUID of the note to append to.

Request body

Field
Type
Required
Description

note_data

string (HTML)

yes

HTML fragment appended to the end of the note body. Normalized through the rich-text renderer.

Example request

{
  "note_data": "<p><strong>14:32 UTC</strong> — Imaging completed. SHA-256 verified.</p>"
}

Response — 200 OK

Returns the full updated note, including the combined body (same shape as get-notes.md):

{
  "data": {
    "case_note_id": 119,
    "uuid": "0f8fad5b-d9cb-469f-a165-70867728950e",
    "note_tag": "Imaging Log",
    "note_data": "<p>Imaging started at 13:05 UTC.</p><p><strong>14:32 UTC</strong> — Imaging completed. SHA-256 verified.</p>",
    "path": "/Imaging Log",
    "parent_id": null,
    "is_folder": false,
    "created_on": "2026-08-03T13:05:00.000Z",
    "updated_on": "2026-08-03T14:32:11.000Z",
    "attachments": [],
    "linked_case": { "case_id": 42, "uuid": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d" },
    "linked_object": null,
    "created_by": { "user_id": 12, "email": "api-user@example.com", "first_name": "API", "last_name": "User", "full_name": "API User", "title": "Integration" },
    "updated_by": { "user_id": 12, "email": "api-user@example.com", "first_name": "API", "last_name": "User", "full_name": "API User", "title": "Integration" }
  }
}

Examples

Append a timestamped log entry

Stream tool output into a case note

Errors

Status
Body
Cause

400

{"message": "Invalid request body", "errors": [...]}

Missing or empty note_data.

404

{"message": "Note not found"}

No note with that UUID.

401

Unauthorized

Missing or invalid API key.

Was this helpful?