{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"File Requirements — Pathology — JondaX API Docs","description":"Accepted file types, size limits, and upload field name for the JondaX Pathology module. Supports PDF, HL7, XML, JSON, and images up to 25 MB.","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"file-requirements","__idx":0},"children":["File Requirements"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Property"},"children":["Property"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Value"},"children":["Value"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Accepted types"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PDF, HL7, XML, JSON, CSV, Parquet, PNG, JPEG, HEIC, AVIF, WEBP"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Max file size"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["25 MB"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Filename"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Prefer ASCII; avoid special symbols"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"form-field-name","__idx":1},"children":["Form field name"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The file field name is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["file"]},"."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"Content-Disposition: form-data; name=\"file\"; filename=\"your-file.pdf\"\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"single-file-upload","__idx":2},"children":["Single file upload"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl --location 'https://app.jondax.eu/api/master?module=pathology' \\\n--header 'Authorization: Bearer <JONDAX_API_KEY>' \\\n--form 'file=@\"/path/to/lab-report.pdf\"'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Response:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"success\": true,\n  \"data\": {\n    \"type\": \"pathology\",\n    \"status\": \"uploaded\",\n    \"uploads\": [\n      {\n        \"uploadId\": \"a71fd99c-f510-4226-82ce-c50028e71505\",\n        \"fileName\": \"E46UNRB_96dpi_1.png\",\n        \"message\": \"File uploaded successfully\"\n      }\n    ],\n    \"filesCount\": 1,\n    \"message\": \"1 pathology file(s) uploaded successfully\"\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"multiple-files","__idx":3},"children":["Multiple files"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can upload up to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["10 files"]}," in a single request by sending multiple ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["file"]}," fields. Each file is processed independently and gets its own ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["uploadId"]}," in the response."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl --location 'https://app.jondax.eu/api/master?module=pathology' \\\n--header 'Authorization: Bearer <JONDAX_API_KEY>' \\\n--form 'file=@\"/path/to/report-1.pdf\"' \\\n--form 'file=@\"/path/to/report-2.pdf\"'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Response:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"success\": true,\n  \"data\": {\n    \"type\": \"pathology\",\n    \"status\": \"uploaded\",\n    \"uploads\": [\n      {\n        \"uploadId\": \"dfe26526-4879-4a87-8e51-86770ffeb911\",\n        \"fileName\": \"E46UNRB_96dpi_1.png\",\n        \"message\": \"File uploaded successfully\"\n      },\n      {\n        \"uploadId\": \"645caacc-0d8b-45c2-9ab5-9dd7f183ce1a\",\n        \"fileName\": \"E46UNRB_96dpi_1.png\",\n        \"message\": \"File uploaded successfully\"\n      }\n    ],\n    \"filesCount\": 2,\n    \"message\": \"2 pathology file(s) uploaded successfully\"\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"upload-response-field-reference","__idx":4},"children":["Upload response field reference"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Always ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"pathology\""]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.status"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Always ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"uploaded\""]}," on success"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.uploads"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["array"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["One entry per uploaded file"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.uploads[].uploadId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["UUID to track this upload — store it for status polling"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.uploads[].fileName"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Original filename as received"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.uploads[].message"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Always ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"File uploaded successfully\""]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.filesCount"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Number of files accepted in this request"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.message"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Human-readable summary"]}]}]}]}]}]},"headings":[{"value":"File Requirements","id":"file-requirements","depth":1},{"value":"Form field name","id":"form-field-name","depth":2},{"value":"Single file upload","id":"single-file-upload","depth":2},{"value":"Multiple files","id":"multiple-files","depth":2},{"value":"Upload response field reference","id":"upload-response-field-reference","depth":2}],"frontmatter":{"seo":{"title":"File Requirements — Pathology — JondaX API Docs","description":"Accepted file types, size limits, and upload field name for the JondaX Pathology module. Supports PDF, HL7, XML, JSON, and images up to 25 MB."}},"lastModified":"2026-07-07T05:23:45.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/docs/pathology/file-requirements","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}