cURL
curl --request GET \ --url https://api-eu.flexportal.io/v1/files \ --header 'Authorization: Bearer <token>' \ --header 'Tenant-ID: <tenant-id>'
{ "files": [ { "fileId": "<string>", "tenantId": "<string>", "orderId": "<string>", "type": "<string>", "category": "generated", "filename": "<string>", "contentType": "<string>", "fileSize": 123, "storagePath": "<string>", "uploadedBy": "<string>", "createdAt": "<string>", "updatedAt": "<string>", "originalFilename": "<string>", "metadata": {} } ], "count": 123, "limit": 123, "offset": 123, "filters": { "orderId": "<string>", "type": "<string>" } }
Returns a list of files with optional filtering by order or type.
API key obtained from FlexPortal dashboard
Your tenant identifier
Filter by order ID
Filter by file type
Items per page (default: 50)
List of files
Show child attributes
generated
uploaded