API Documentation

You can use the API directly to convert PDF files.

Endpoint: POST /api

The endpoint accepts multipart/form-data and can handle single or multiple file uploads. Use the file key for each file you upload.

Examples

curl

Single File Upload
curl -X POST   -F "file=@/path/to/your/document.pdf"   https://xtomd.vercel.app/api
Multiple File Upload
curl -X POST   -F "file=@/path/to/document1.pdf"   -F "file=@/path/to/document2.pdf"   https://xtomd.vercel.app/api