> ## 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

> NoteDocument 리소스에 대한 webhook 이벤트

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>;

## 개요

NoteDocument 리소스에 대한 webhook 이벤트예요. 모든 note document 이벤트는 `resourceType: "NoteDocument"`를 사용해요.

## 이벤트 상세

### note\_document.generated

* 문서의 모든 섹션이 생성되었을 때

### note\_document.updated

* 사용자가 섹션 내용을 수정할 때
* 문서 메타데이터가 변경될 때

### note\_document.deleted

* 문서가 삭제될 때

## 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"
}
}
}}
/>

## 리소스 데이터

자세한 스키마 정보는 [API Reference](/api-reference/note-document/get-note-document)의 `NoteDocument` 정의를 참고하세요.
