Attachments
Get File
Download or retrieve metadata for a specific attachment.
GET
Download or retrieve metadata for a specific file (API:
attachment).
In the API, uploaded files are referred to as attachments. This is the technical term used in all endpoints and parameters.
Response Formats
The endpoint supports two response formats controlled by theAccept header:
JSON Response
When usingAccept: application/json, you’ll receive:
Bulk Download
Download multiple files as a single ZIP archive:Query Parameters
Multiple files are packaged as a ZIP archive for download.
Finding File IDs
File IDs are included when you retrieve a form response:Supported File Types
Penbox supports various file types:Response Codes
Files are permanently stored and remain accessible even after the form is archived.
Authorizations
API token (starts with pnbx_). Create at https://app.penbox.io/workspace/settings/api. Include as: Authorization: Bearer {token}
Headers
Response format: application/json for metadata or application/octet-stream for file download
Available options:
application/json, application/octet-stream Path Parameters
Attachment UUID