---
title: "Check Missing Documents"
method: POST
path: "/api/businesses/{business_id}/documents/check-missing"
tags: ["Businesses"]
---

# Check Missing Documents

`POST /api/businesses/{business_id}/documents/check-missing`

## Request

- Base URL: `https://api.flagpost.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.flagpost.ai/api/businesses/{business_id}/documents/check-missing`
- Auth: HTTP bearer

Check for missing required documents and optionally send alert email.

Useful for validating document completeness before generating reports
or performing other operations that require specific documents.

Args:
    business_id: Business UUID
    request: List of required document types and optional alert settings

Returns:
    Dictionary with missing documents and completion status

## Path parameters

- `business_id` string, required

## Request body

- CheckMissingDataRequest: Request to check for missing documents.
  - `required_documents` string[], required
  - `context` string, nullable
  - `send_alert` boolean

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/flagpost/apis/flagpost-api.md) - [All operations](https://skmtc.dev/flagpost/apis/flagpost-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flagpost/apis/flagpost-api/revisions/0308cef485ca?raw)
