Developer API / docs
Merge PDF API
Combine two or more PDFs into one, in order. Lossless page copying - text stays selectable.
POSThttps://api.gigai.tools/v1/jobsAsync
Runs as the merge-pdf operation inside a job. Needs a key with the jobs:write scope. Try it in the browser
Options
No options - the input file is everything.
Limits
- Input: pdf (several files, checked by content, never by extension).
- Max input size: 100 MB.
- Output: pdf.
- Time budget: 120 seconds, then the task fails with the timeout code.
- Engine: pdf-lib.
Inside a bigger job
Chain it: any task can consume this one's output by naming it in input. The recipes show working pipelines.
as one task in a graph
"step": { "operation": "merge-pdf", "input": ["previous-task"] }Errors this tool returns
invalid_input, invalid_option, file_too_large, timeout, needs_two_inputs. The full list with fixes is on the errors page.
Was this page helpful?