Extracta.ai
DashboardJoin Discord
  • extracta.ai
    • Introduction
    • Overview
  • API Reference
    • 🔓Authentication
    • 📁Supported File Types
  • Data Extraction - API
    • đŸ’ģAPI Endpoints - Data Extraction
      • 1. Create extraction
      • 2. View extraction
      • 3. Update extraction
      • 4. Delete extraction
      • 5. Upload Files
      • 6. Get results
    • Extraction Details
      • 🌎Supported Languages
      • âš™ī¸Options
      • 📋Fields
    • Receiving Batch Results
      • Polling vs Webhook
      • How to use the Webhook
    • đŸ•šī¸Postman Integration
  • Document Classification - API
    • đŸ’ģAPI Endpoints - Document Classification
      • 1. Create classification
      • 2. View classification
      • 3. Update classification
      • 4. Delete data
        • 4.1 Delete classification
        • 4.2 Delete batch
        • 4.3 Delete files
      • 5. Upload Files
      • 6. Get results
    • Classification Details
      • 📄Document Types
  • Documents
    • Custom Document
    • Resume / CV
    • Contract
    • Business Card
    • Email
    • Invoice
    • Receipt
    • Bank Statement
  • Support
    • 💁Tutorials
    • đŸŸĸAPI Status
  • Contact
    • 📧Contact Us
    • ❓FAQ
Powered by GitBook
On this page
  • What is Document Classification?
  • 🔌 Available Endpoints
  • 🧩 Document Types & Auto-Extraction
  • 📘 Navigating the Documentation

Was this helpful?

  1. Document Classification - API

API Endpoints - Document Classification

Welcome to the Extracta.ai Document Classification API. This section guides you through all available endpoints designed to help you classify uploaded documents into user-defined types and optionally extract structured data from them.

Whether you're automating invoice routing, separating receipts from contracts, or identifying CVs, this API gives you precise control over classification and downstream processing.

What is Document Classification?

Document Classification is the process of automatically assigning a document to a predefined category — such as an Invoice, Receipt, or Purchase Order — based on its content.

You define the categories (called Document Types), provide keywords, and optionally link them to extraction templates. Once classified, the document can automatically be parsed for structured data.

🔌 Available Endpoints

The Extracta.ai Classification API includes the following endpoints:

Endpoint
Type
Page

/createClassification

POST

/viewClassification

POST

/updateClassification

PATCH

/deleteExtraction

DELETE

/deleteBatch

DELETE

/deleteFiles

DELETE

/uploadFiles

POST

/getResults

POST

Each page covers detailed request and response formats.

🧩 Document Types & Auto-Extraction

In classification, you define documentTypes with:

  • A name and description

  • A list of uniqueWords to guide classification

  • (Optionally) an extractionId to enable automatic structured data extraction if a match is found

Learn how to define these properly in the Document Types page.

📘 Navigating the Documentation

Each endpoint in this section includes:

  • Request Parameters: Fields you can send in the API call

  • Response Objects: What to expect back

  • Examples: Realistic payloads to speed up integration

This structure ensures you can build confidently, whether you're uploading 10 documents or 10,000.

PreviousPostman IntegrationNext1. Create classification

Last updated 17 hours ago

Was this helpful?

đŸ’ģ
1. Create classification
2. View classification
3. Update classification
4.1 Delete classification
4.2 Delete batch
4.3 Delete files
5. Upload Files
6. Get results