{ "opencollection": "1.0.0", "info": { "name": "lexoffice (lexware Office) Public Contacts Files API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Files", "type": "folder" }, "items": [ { "info": { "name": "Upload a file", "type": "http" }, "http": { "method": "POST", "url": "https://api.lexware.io/v1/files", "body": { "type": "multipart-form", "data": [ { "name": "file", "type": "text", "value": "" }, { "name": "type", "type": "text", "value": "" } ] } }, "docs": "Uploads a receipt file (PDF, JPG, or PNG) to be attached to a voucher. Sent as multipart/form-data with a file part and a type of \"voucher\"." }, { "info": { "name": "Download a file", "type": "http" }, "http": { "method": "GET", "url": "https://api.lexware.io/v1/files/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The UUID of the resource." } ] }, "docs": "Downloads a previously uploaded or rendered file by its UUID." } ] } ], "bundled": true }