Export page(s) from a PDF
POST https://api.pdfrest.com/split-pdf
This request demonstrates how the Split PDF tool can be used to effectively export one or more pages from a PDF. This request will export page 1 to a new document and page 3 to a separate new document. This can be adjusted to export any other pages from the PDF.
Request Body
[{"name"=>"file", "value"=>nil, "datatype"=>"null"}, {"name"=>"id", "value"=>"", "datatype"=>"null"}, {"name"=>"pages[]", "value"=>"1", "datatype"=>"number"}, {"name"=>"pages[]", "value"=>"3", "datatype"=>"number"}, {"name"=>"output", "value"=>"pdfrest_split_pdf", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Api-Key | string |