Upload one or more attachments. Supports both JSON (base64) and multipart/form-data formats.
public or restrictedmultipart/form-data with a file field.
| Code | Description |
|---|---|
201 | Created - File uploaded successfully |
400 | Bad Request - Invalid file data |
401 | Unauthorized - Invalid access token |
403 | Forbidden - No company scope in token |
413 | Payload Too Large - File exceeds 10GB limit |
429 | Too Many Requests - Rate limit exceeded |
500 | Server Error - Internal error |
API token (starts with pnbx_). Create at https://app.penbox.io/workspace/settings/api. Include as: Authorization: Bearer {token}
Workspace UUID (optional if token has workspace scope)