---
title: Document Understanding API- Extract data from Documents
date: 2025-12-10T05:37:39Z
modified: 2026-06-15T06:29:01Z
permalink: "https://ezintegrations.ai/docs/extract-data-from-document/"
type: docs
status: publish
excerpt: ""
wpid: 3294
doc_category:
  - Document Understanding APIs
author: Arun Thakur
---

The **Document Understanding API** automatically extracts, converts, and interprets content from multiple document formats.
It supports Markdown (default) and JSON outputs and accepts Base64-encoded input files.

---

## Method

**POST**

---

## Endpoint

{{base_url}}/docUnderstand
---

## Authentication

This API requires the following authentication parameters:

### Required Params

- **client\_id** — Your API authentication ID.

### Required Headers

- **client-secret** — Your API authentication secret.
- **Content-Type:** application/json

---

## Input Formats

The API accepts Base64-encoded file data with an optional output format parameter.

### 1. Markdown Output (Default)

{
  "file_data": "{%base64data%}"
}
### 2. Markdown Output (Explicit Format)

{
  "file_data": "{%base64data%}",
  "format": "markdown"
}
### 3. JSON Output

{
  "file_data": "{%base64data%}",
  "format": "json"
}
---

## Supported File Types

- PDF
- PowerPoint
- Word
- Excel
- Audio files
- HTML
- Text formats (CSV, JSON, XML)
- ZIP archives
- EPUB files

---

## **Authentication Instructions**

To acquire the **Base URL** and create your own **Client ID and Secret**, please refer to the **My Profile** section within your eZintegrations account.

## Topics

**Docs Categories:** [Document Understanding APIs](https://ezintegrations.ai/wp-content/uploads/wp-mfa-exports/taxonomy/doc_category/document-understanding-apis.md)