Merge, split, compress PDFs or convert DOCX/XLSX to PDF. Returns processed file or queues job for async processing.
Body
actionstring · enumRequiredPossible values:
PDF operation to perform
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
202
Job queued for async processing
application/json
400
Invalid action, missing files, or validation error
413
Total file size exceeds 100MB limit
429
Rate limit exceeded or queue full
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"
}binaryLast updated