Skip to main content
GET
Get Multiple Attachments
Download multiple attachments as a single PDF file.

Query Parameters

string
required
Comma-separated list of attachment UUIDs
string
Custom filename for the downloaded PDF (without extension)

Response

Returns a PDF file containing all requested attachments merged together. Content-Type: application/pdf

Response Codes

This endpoint automatically merges multiple attachments into a single PDF document, which is useful for batch downloads or generating combined reports.

Authorizations

Authorization
string
header
required

API token (starts with pnbx_). Create at https://app.penbox.io/workspace/settings/api. Include as: Authorization: Bearer {token}

Query Parameters

ids
string
required

Comma-separated list of attachment UUIDs

filename
string

Custom filename for the downloaded PDF (without extension)

Response

200 - application/pdf

PDF file containing all requested attachments

The response is of type file.