About this endpoint
What it does
Extracts selected pages from an uploaded PDF and returns the resulting PDF as a binary file.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | String | Yes | The PDF file. Up to 20 MB. |
| pages | String | Yes | Comma-separated pages or ranges, for example 1,3-5,8. |
Response
Returns a binary PDF file containing only the selected pages. The success response is a binary payload with no JSON object wrapper or named fields.



