# Quickstart

Pathology
## First call in 5 minutes

### 1. Get your API key

Retrieve your API key from the **Integration** section under **Settings** in the JondaX client portal.

### 2. Configure your callback

On the Integration page, set your **Endpoint URL** and optionally an authentication header name + value so JondaX can authenticate with your server.

### 3. Upload a file


```bash
curl --location 'https://app.jondax.eu/api/master?module=pathology' \
--header 'Authorization: Bearer <JONDAX_API_KEY>' \
--form 'deviceImage=@"/path/to/lab-report.pdf"'
```

### 4. Receive confirmation

The API responds immediately with an `UploadId`:


```json
{
  "success": true,
  "data": {
    "type": "pathology",
    "status": "uploaded",
    "upload": {
      "UploadId": "a24d4b93-5062-41fb-95b1-b85f5765ae91",
      "filename": "lab-report.pdf",
      "message": "File uploaded successfully"
    },
    "message": "Pathology file uploaded successfully"
  }
}
```

### 5. Receive results at your callback

JondaX POSTs the structured output to the Endpoint URL you configured. The format (JSON, HL7, FHIR) and delivery method depend on your Integration page settings.

Medical Device
## First call in 5 minutes

### 1. Get your API key

Retrieve your API key from the **Integration** section under **Settings** in the JondaX client portal.

### 2. Upload a device image


```bash
curl --location 'https://app.jondax.eu/api/master?module=medical' \
--header 'Authorization: Bearer <JONDAX_API_KEY>' \
--form 'deviceImage=@"/path/to/device-reading.png"'
```

### 3. Receive extracted data immediately


```json
{
  "success": true,
  "data": {
    "type": "medical",
    "status": "extracted",
    "data": {
      "success": true,
      "deviceType": "pulse-oximeter",
      "data": {
        "SpO2": "98%",
        "pulseRate": "87 BPM"
      },
      "confidence": 0.85,
      "timestamp": "2026-04-09T03:50:13.655Z",
      "processingTime": "1570ms"
    },
    "message": "Medical data extracted successfully from PNG file"
  }
}
```

No callback configuration required for the Medical Device module.