---
title: Document Summarizer
slug: summarize-documents
url: https://apyverse.com/apyhub/service/summarize-documents
provider: ApyHub
categories: [Artificial Intelligence, Data Extraction, Smart Generation]
tags: [document-summarization, pdf-summary, docx, text-analysis, llm-summarization]
auth: api_key
---

# Document Summarizer

Summarize PDF, DOCX, DOC, or ODT files from an upload or URL. Choose short, medium, or long output and get back data.summary.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `/ai/summarize-documents/file` | What it does Uploads a document and returns a summary of its contents. The request body must includ… | 2600 |
| POST | `/ai/summarize-documents/url` | What it does Summarizes a document fetched from a URL and returns the generated summary in a JSON r… | 2600 |

## About

## What it does
Document Summarizer turns a PDF, DOCX, DOC, or ODT file into a plain-text summary. Send either an uploaded file or a direct document URL, and get back a `summary` string in the length you asked for.

Use `summary_length` to control the output size: `short` for about 20 words, `medium` for about 60 words, or `long` for about 100 words. If you need the result in another language, set `output_language` with a BCP-47 language code such as `en`.

This is a good fit when you need to skim reports, contract drafts, meeting notes, or long reference documents before routing them to a person or another workflow. The response stays simple: the summarized text is returned under `data.summary`, so you can store it, display it, or pass it to another step without extra parsing.

Use Document Summarizer when your app needs a compact readout of document content without building your own extraction and summarization pipeline.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyverse.com/apyhub/service/summarize-documents
