Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

PDF

Process PDF files

post

Merge, split, compress PDFs or convert DOCX/XLSX to PDF. Returns processed file or queues job for async processing.

Body
actionstring · enumRequired

PDF operation to perform

Possible values:
filestring · binaryOptional

Single file for split/compress/convert operations

file_0string · binaryOptional

First file for merge (supports file_0 through file_99)

file_1string · binaryOptional

Second file for merge

optionsstringOptional

JSON string with action-specific options. Split: {"pages": "1,2,5-10"}

Responses
200

Processed PDF file

application/pdf
Responsestring · binary
post/api/pdf-process
POST /api/pdf-process HTTP/1.1
Host: mioffice.ai
Content-Type: multipart/form-data
Accept: */*
Content-Length: 87

{
  "action": "merge",
  "file": "binary",
  "file_0": "binary",
  "file_1": "binary",
  "options": "text"
}
binary

Last updated