# Repzo API - Quick Convert to PDF

OpenAPI specification for Repzo Quick Convert to PDF endpoints.

**Version:** 1.0.0

## Overview

### Base URLs

- \*\*\*\*: `https://sv.api.repzo.me`

## Authentication

No authentication required.

## Endpoints

### `/quick-convert-to-pdf`

#### POST /quick-convert-to-pdf

**Summary:** Convert document to PDF

##### Request Body

**Content Types:**

- `application/json`

##### Responses

**200** - PDF conversion successful

Content-Type: `application/json`

---

## Data Models

### QuickConvertToPdfBody

Body for converting document to PDF

| Property | Type | Required | Description |
| -------- | ---- | -------- | ----------- |

| `documentType` | string | Yes | Type of document to convert |

| `documentId` | string | Yes | ID of the document to convert |

| `template` | string | No | Template to use for PDF generation |

| `options` | object | No | PDF generation options |

| `language` | string | No | Language for the PDF content |

### QuickConvertToPdfResult

Result of PDF conversion

| Property | Type | Required | Description |
| -------- | ---- | -------- | ----------- |

| `success` | boolean | No | Whether conversion was successful |

| `pdfUrl` | string | No | URL to download the generated PDF |

| `filename` | string | No | Generated PDF filename |

| `size` | number | No | PDF file size in bytes |

| `pages` | number | No | Number of pages in the PDF |

| `generatedAt` | string | No | When the PDF was generated |

| `expiresAt` | string | No | When the PDF download link expires |

## TypeScript Usage

See [quick-convert-to-pdf-examples.md](./quick-convert-to-pdf-examples.md) for detailed TypeScript usage examples.
