Documentation

Learn how to integrate our API and convert documents with ease.

Quick Start

Get started with our document conversion API in minutes. Follow these simple steps to integrate our service into your application.

Installation

Install our SDK using npm, yarn, or pnpm:

bash
1
npm install @docquick/sdk

Authentication

Create an API key from your dashboard and initialize the client:

typescript
1
2
3
4
5
6
import { DocQuick } from '@docquick/sdk'; // Initialize with your API key const converter = new DocQuick({ apiKey: 'your_api_key_here' });

Your First Conversion

Convert documents with a simple API call:

typescript
1
2
3
4
5
6
7
8
9
10
// Convert HTML to DOCX const result = await converter.convert({ from: 'html', to: 'docx', content: '<h1>Hello World</h1><p>This is a test</p>' }); // Save or download the converted file console.log(result.url); // URL to the converted file console.log(result.fileSize); // Size of the converted file in bytes