ToolYour

ToolYour

API Docs

Documents

Document format conversion APIs.

Base path: /api/v1/documents

All endpoints are POST with multipart/form-data:

  • file (required) — document to convert
  • X-Api-Key (required)
curl -X POST "https://api.toolyour.com/api/v1/documents/pdf-to-docx" \
  -H "X-Api-Key: $API_KEY" \
  -F "file=@report.pdf"

PDF generation routes

These support optional PDF options (page_size, orientation, margin):

  • docx-to-pdf, txt-to-pdf, rtf-to-pdf, md-to-pdf, html-to-pdf

Common conversions

Examples
Officedocx-to-pdf, pdf-to-docx, txt-to-docx
Textpdf-to-txt, docx-to-txt, html-to-txt
Webhtml-to-pdf, pdf-to-html, md-to-html

25 document endpoints are listed under the Documents tag in the API reference.

Limits

  • Max file size: 10 MB (server default)
  • Response is typically binary file content

On this page