Skip to content
DemoFAQ

PDF Generation Template Editor

Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.

View on GitHub

PDF Extract API

❖ Feature Description

Extract selected pages from a PDF into a new PDF.

❖ Request Mode

Sync Request ✓
Process the request inline and return the result file when it completes. Best for small files and immediate feedback.
Async Request
Accept the task first, then use taskId to query status and download the result. Best for large files and batch jobs.

▎Call Flow

1Upload the file
2Call the synchronous endpoint
3Download the result

PDF Extract API

POSThttp://localhost:8080/api/v1/process/pdf/extract

❖ Request Parameters

Authentication credential sent in the header: x-api-key. Sign in to the Dashboard API management page to view the API Access Key for the current deployment.

Body Parameters multipart/form-data

No file selected
Source PDF file.
PDF request JSON string. See PDF Extract request parameters for details.
🔗Request Example
curl --request POST \
  --url http://localhost:8080/api/v1/process/pdf/extract \
  --header 'x-api-key: YOUR API-KEY' \
  --form [email protected]
✓Response Example
200 OK
Processed successfully. Returns the result file stream.