Reimply API
Merge PDF API
POST/v1/merge
Join invoices, terms, cover pages and images into one PDF in the order you send them.
Example
Endpoint POST /v1/merge.
curl https://reimply.com/v1/merge \
-H "Authorization: Bearer $REIMPLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"inputs":["https://example.com/files/invoice.pdf","https://example.com/files/terms.pdf"]}'const res = await fetch('https://reimply.com/v1/merge', {
method: 'POST',
headers: { Authorization: `Bearer ${process.env.REIMPLY_API_KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({
"inputs": [
"https://example.com/files/invoice.pdf",
"https://example.com/files/terms.pdf"
]
}),
})
const job = await res.json()
console.log(job.status, job.outputs.map((o) => o.url))import os, requests
res = requests.post(
"https://reimply.com/v1/merge",
headers={"Authorization": f"Bearer {os.environ['REIMPLY_API_KEY']}"},
json={
"inputs": [
"https://example.com/files/invoice.pdf",
"https://example.com/files/terms.pdf"
]
},
)
job = res.json()
print(job["status"], [o["url"] for o in job["outputs"]])Inputs are processed in the order given. You can also send files as multipart or as presigned uploads.
Request body
- inputsarray, required
- The files, in order. A URL,
{"upload_id": "upl_..."}from a presigned upload, or a multipartfilesfield. - webhook_urlstring, optional
- Run the job in the background and send a signed event to this URL when it finishes. See webhooks.
- asyncboolean, optional
- Answer
202straight away and run the job in the background.
Use cases
- Invoice plus terms in one file
- Report bundles
- Combining scans
Pricing
Este trabalho usa 1 conversão. Contas gratuitas tem 250 conversões por mês e planos pagos comecam em £12 por mês para 3.000. Preços.
Perguntas
Quantas conversões usa um trabalho de Merge PDF?
Uma conversão por arquivo, independente do tamanho. Vídeo e áudio usam 3. Trabalhos com falha são grátis.
Posso testar grátis?
Sim. Cada conta recebe 250 conversões grátis por mês, sem cartão. Crie uma chave na sua conta e execute o exemplo acima.
What happens to my files?
Files are processed on Reimply servers and deleted automatically 60 minutes after the job, along with the results.
Just need to do this once? Use the free Merge PDF tool on reimply.com.