Build document pipelines.
Integrate fast, secure document compression, conversion, and AI text extraction into your applications.
Getting Started
DocZivo provides a RESTful developer interface. All requests require SSL and must pass tokenized credentials in the request headers. Output responses return standard JSON schemas.
Authentication Header
Authorization: Bearer YOUR_API_KEYAPI Endpoints
POST
/v1/compressCompress a PDF document optimizing for web-delivery size or resolution density.
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| file | file | Yes | The PDF binary document to compress. |
| quality | string | No | Compression parameters: 'high', 'medium', or 'low'. Defaults to 'medium'. |
POST
/v1/convertConvert PDFs to editable formats (DOCX, XLSX, PPTX, HTML, PNG, or JPG).
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| file | file | Yes | The PDF binary document to convert. |
| format | string | Yes | Target conversion schema: 'docx', 'xlsx', 'pptx', 'png', etc. |
GET
/v1/usageCheck active requests, consumption logs, and billing quotas.
cURL Request
curl -X POST https://api.doczivo.com/v1/compress \ -H "Authorization: Bearer YOUR_API_KEY" \ -F "file=@document.pdf" \ -F "quality=high"
JSON Response (200 OK)
{
"status": "success",
"task_id": "task_9281a8b9",
"original_name": "document.pdf",
"original_size": 2451082,
"compressed_size": 892014,
"download_url": "https://dl.doczivo.com/out/892014.pdf",
"expires_in_seconds": 3600
}