---
title: "Webhook Handler"
method: POST
path: "SDOC_UPDATED"
---

# Webhook Handler

`POST SDOC_UPDATED` (webhook)

## Acknowledgement `200`

Successful Response

- SdocUpdatedEvent
  - `type` 'SDOC_UPDATED'
  - `payload` SourceDocumentRead, required
    - `filename` string, required — Filename of the SourceDocument
    - `name` string, required — User-defined name of the document (default is the filename)
    - `doctype` 'text' | 'image' | 'video' | 'audio', required
    - `project_id` integer, required — Project the SourceDocument belongs to
    - `id` integer, required — ID of the SourceDocument
    - `created` string, date-time, required — The created timestamp of the SourceDocument
    - `updated` string, date-time, required — Updated timestamp of the SourceDocument
    - `folder_id` integer, required — ID of the Folder this SourceDocument belongs to
    - `memo_ids` integer[] — IDs of the Memos attached to the SourceDocument

---

[API](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api.md) · [All operations](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api/llms.txt) · [OpenAPI document](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api/revisions/c68c19b13069?raw)
