Merge renders
Merges multiple renders into a single PDF.
A merge uses 1 API credit.
By default, the merged PDF will be returned directly in the response.
But if you pass the host
parameter, the merged PDF will be uploaded to our servers and you will receive a URL in the response.
Parameters
ids array
REQUIRED
The render ids of the renders that will be merged.
host boolean
If true
, the merged PDF will be hosted in our servers and you will receive a URL in the response. Defaults to false
.
Sample Request
Here’s a sample request to merge renders:
Response
The API returns the merged PDF file directly in the response body with the following headers:
- Content-Type:
application/pdf
- Content-Disposition:
attachment; filename="merged_renders.pdf"
The PDF file can be downloaded and saved directly from the response.
Note: Unlike other endpoints that return JSON, this endpoint streams the PDF binary data directly.