---
title: "Processor extraction-complete webhook (attachments + custom_documents)"
method: POST
path: "/api/webhooks/extraction-complete"
tags: ["webhooks"]
---

# Processor extraction-complete webhook (attachments + custom_documents)

`POST /api/webhooks/extraction-complete`

## Request

- Base URL: `https://localhost:8080`
- URL: `https://localhost:8080/api/webhooks/extraction-complete`
- Auth: none declared

## Request body

- ExtractionCompleteDto
  - `extraction_job_id` string
  - `document_id` string, required: Attachment/document primary key
  - `user_id` string, required
  - `folder_id` string, required
  - `result` object, required: ExtractContentResponse JSON from the processor (success/content/metadata/error)

## Response `200`

Processed or already processed

## Other responses

- `401`: Unauthorized
- `404`: Document not found

---

[API](https://skmtc.dev/opencase/apis/opencase-backend-api.md) · [All operations](https://skmtc.dev/opencase/apis/opencase-backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/opencase/apis/opencase-backend-api/revisions/c66ef2d8dc00?raw)
