Keep or remove specific pages from a PDF. Use page specs like “1”, “2-5”, “3-”.
API Key (starts with ak_...)
File ID of the PDF
"550e8400-e29b-41d4-a716-446655440000"
Page specifications (e.g. "1", "2-5", "3-")
["1", "3-5"]Whether to keep or remove the specified pages
keep, remove "keep"
Optional webhook configuration
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
["file-id-1", "file-id-2"]Output file ID (available when COMPLETED)
null
Error message (available when FAILED)
null
Job creation timestamp
Job start timestamp
Job completion timestamp
Additional metadata (e.g. PDF metadata result)