Keep or remove PDF pages
Keep or remove specific pages from a PDF. Use page specs like “1”, “2-5”, “3-”.
Authorizations
Short-lived, Developer-API-audience token obtained by the trusted MCP service through token exchange (mcp_at_...). Raw MCP resource tokens are rejected.
Body
File ID of the PDF
"550e8400-e29b-41d4-a716-446655440000"
Page specifications (e.g. "1", "2-5", "3-")
Whether to keep or remove the specified pages
keep, remove "keep"
Optional webhook configuration
Response
Pages job created
Job ID
"550e8400-e29b-41d4-a716-446655440000"
Action that was performed
"pdf.merge"
Current job status
PENDING, PROCESSING, COMPLETED, FAILED "PENDING"
Input file IDs used for this job
Output file ID (available when COMPLETED)
null
Error message (available when FAILED)
null
Job creation timestamp
Job start timestamp
Job completion timestamp
Signed, time-limited browser download URL for the output file (available when COMPLETED). An API key may also be used on the same endpoint.
"https://api.autype.com/api/v1/dev/tools/files/output-file-id/download?token=signed-token"
Structured job result data (e.g. OCR markdown/JSON, generated filename, PDF metadata, form fields). Available when the job produces a direct result instead of an output file.
Deprecated — use result instead. Additional metadata, duplicated from result for backward compatibility.
