---
title: "Classify Document Endpoint"
method: POST
path: "/api/v1/documents/{document_id}/classify"
tags: ["Documents"]
---

# Classify Document Endpoint

`POST /api/v1/documents/{document_id}/classify`

## Request

- Base URL: `https://api.withverifa.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.withverifa.com/api/v1/documents/{document_id}/classify`
- Auth: none declared

Trigger classification on a document.

Analyzes the document using rule-based heuristics to determine its type
(government_id, proof_of_address, financial, corporate, etc.).

## Path parameters

- `document_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/withverifa/apis/verifa.md) · [All operations](https://skmtc.dev/withverifa/apis/verifa/llms.txt) · [OpenAPI document](https://skmtc.dev/withverifa/apis/verifa/revisions/7288c82c9e33?raw)
