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

# Note Document Events

> Webhook events for NoteDocument resources

export const EventBaseStructure = {
  id: "evt_01J9ABCDEF",
  type: "note.created",
  createdAt: "2025-09-05T07:12:34Z",
  workspaceGuid: "ws_a1b2c3d4",
  data: {
    resourceType: "Note",
    resourceId: "note-guid-123",
    resource: {
      "title": "Meeting Note"
    }
  }
};

export const Json = ({data, lang = 'json', spaces = 2}) => <pre>
    <code className={`language-${lang}`}>{JSON.stringify(data, null, spaces)}</code>
  </pre>;

## Overview

Webhook events for NoteDocument resources. All note document events use `resourceType: "NoteDocument"`.

## Event Details

### note\_document.generated

* When all sections of a document have been generated

### note\_document.updated

* When a user modifies section content
* When document metadata changes

### note\_document.deleted

* When a document is deleted

## Example Payload

<Json
  data={{
...EventBaseStructure,
type: "note_document.generated",
data: {
...EventBaseStructure.data,
resourceType: "NoteDocument",
resourceId: "456",
resource: {
  id: 456,
  noteGuid: "note-abc123-def456",
  note: {
    guid: "note-abc123-def456",
    webUrl: "https://tiro.ooo/n/xQ8YKnZUPGHNB"
  },
  template: {
    id: 789,
    title: "회의록"
  },
  locale: "ko_KR",
  sections: [
    {
      content: {
        type: "text/markdown",
        content: "회의 요약 내용..."
      },
      createdAt: "2025-10-23T12:00:00Z"
    }
  ],
  createdAt: "2025-10-23T11:55:00Z",
  updatedAt: "2025-10-23T11:55:00Z"
}
}
}}
/>

## Resource Data

For detailed schema information, see the `NoteDocument` definition in the [API Reference](/api-reference/note-document/get-note-document).
