tool: merge
Merge PDF API
Combine several PDFs into one file in the order you send them.
Example
API=https://api.pdftrusted.com
ID=$(curl -sS -X POST $API/v1/tasks -H "X-API-Key: $KEY" \
-H "Content-Type: application/json" -d '{"tool":"merge"}' | jq -r .task_id)
curl -sS -X PUT $API/v1/tasks/$ID/upload -H "X-API-Key: $KEY" -F files=@a.pdf -F files=@b.pdf
curl -sS -X POST $API/v1/tasks/$ID/process -H "X-API-Key: $KEY"
curl -sS -L "$API/v1/tasks/$ID/download?redirect=1" -H "X-API-Key: $KEY" -o outSend several files as repeated files fields; they're processed in the order you send them. Options for this tool: GET /v1/tools/merge.
Limits
| Free | Paid plans | |
|---|---|---|
| File size | 25 MB | 200 MB |
| Pages | 1,000 | 1,000 |
| Files per task | 20 | 100 |
Ship your PDF feature today
Free key in under a minute. 50 jobs a month on every tool, no card.