PDF Merge
Merge multiple PDF files into one document.
Endpoint
POST https://www.acrewity.com/api/services/execute
Authentication
Include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
n8n Integration
This service is also available via our n8n community node: @acrewity/n8n-nodes-acrewity
Operations
Merge PDFs
Combine source PDF pages into target PDF
Operation ID: merge
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
source_pdf |
file | Yes | - | PDF file to merge from (Base64 encoded, with or without data URI prefix) |
target_pdf |
file | Yes | - | PDF file to merge into (Base64 encoded, with or without data URI prefix) |
Example Request
Merge Two PDF Documents:
{
"service": "pdf-merge",
"operation": "merge",
"parameters": {
"source_pdf": "data:application/pdf;base64,JVBERi0xLjQKMSAwIG9iago8PAovVHlwZSAv...",
"target_pdf": "data:application/pdf;base64,JVBERi0xLjQKMSAwIG9iago8PAovVHlwZSAv..."
}
}
Merge Using Raw Base64 (without data URI prefix):
{
"service": "pdf-merge",
"operation": "merge",
"parameters": {
"source_pdf": "JVBERi0xLjQKMSAwIG9iago8PAovVHlwZSAv...",
"target_pdf": "JVBERi0xLjQKMSAwIG9iago8PAovVHlwZSAv..."
}
}
Example Response
{
"success": true,
"result": {
"data": {
"file": "data:application/pdf;base64,JVBERi0xLjQKMSAwIG9iago8PAov...",
"pageCount": 8,
"message": "Successfully merged 3 pages into target PDF. Total pages: 8"
}
},
"credits_used": 1
}
More Examples
See Document Processing Examples for complete workflow examples including report consolidation, invoice bundling, and document archiving.