Skip to content
Browse all functions

Insert Pages into PDF

files/insertpdfpages

Inserts all or selected pages of a second PDF into a PDF at any position (beginning, after a page, end). Returns the PDF.

Endpoint

POSThttps://api.1001fx.com/files/insertpdfpages
Header
X-API-KEY: YOURSECRETAPIKEY How to
Content type
application/json (no body)

Parameters

This function has no parameters.

Examples

Insert Pages into PDF

Insert Pages into PDF

Input

Expects multipart/form-data or a json body
{
  "fileUrl": "https://api.1001fx.com/testdata/3pages.pdf",
  "insertFileUrl": "https://api.1001fx.com/testdata/file.pdf",
  "afterPage": 1
}

Output · HTTP 200

Response
{
  "statusCode": 200
}
Show curl command
curl -X POST 'https://api.1001fx.com/files/insertpdfpages' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -H 'Content-Type: application/json' \
  -d '{"fileUrl":"https://api.1001fx.com/testdata/3pages.pdf","insertFileUrl":"https://api.1001fx.com/testdata/file.pdf","afterPage":1}'

Try insertpdfpages now

Run it in your browser or create a free account and get 100 credits every month.

Changelog

  • 1.0.001.11.2026created