Returns a list of files with optional filtering by order or type.
| Type | Description |
|---|---|
contract | Subscription contract documents |
invoice | Billing invoices |
document | General uploaded documents |
attachment | Order or subscription attachments |
| Field | Description |
|---|---|
fileId | Unique file identifier |
fileName | Original file name |
fileType | Type: contract, invoice, document, attachment |
mimeType | MIME type (e.g., application/pdf) |
size | File size in bytes |
orderId | Associated order (if applicable) |
customerId | Associated customer |
createdAt | Upload timestamp |
API key obtained from FlexPortal dashboard
Your tenant identifier
Filter by order ID
Filter by file type
Items per page (default: 50)