---
title: "Concatenate multiple pdf files into single pdf file.."
method: POST
path: "/api/pdf/pdfconcat"
tags: ["Pdf"]
---

# Concatenate multiple pdf files into single pdf file..

`POST /api/pdf/pdfconcat`

## Headers

- `X-Api-Version` string

## Request body

- PdfConcatenationRequestDto — Request to concatenate a list of Pdf documents to a single Pdf document.
  - `pdfDocumentsAsBase64String` string[], nullable — The list of Pdf documents encoded as Base64 strings.

## Response `200`

Returns the newly created pdf file. Either the file directly or serialized as Json if Accept-header is set to application/json

- PdfResponseDto — When setting the Accept-header in the request to "application/json" the content of the pdf file will be return as Base64 encoded string. Note that converting data to Base64 encoded strings increases the response size with approximately 33%, if you can accept the a binary format it's better to use Accept-header "application/pdf".
  - `errorMessage` string, nullable — If any error occurs the message will be displayed in here
  - `pdfFileBase64String` string, nullable — The Base64 encoded string that is the pdf file.

## Other responses

- `400` — If any error occurs parsing input
- `415` — If content-type of request is not set to multipart/form-data or application/json
- `429` — If you reach the monthly request limit for your subscription plan

---

[API](https://skmtc.net/pdfbroker/apis/pdfbroker-io-api.md) · [All operations](https://skmtc.net/pdfbroker/apis/pdfbroker-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pdfbroker/pdfbroker-io-api/versions/c10982b50857/schema)
