Open API
Claims SFTP Input Method

Get SFTP batch session final results (paginated)

Get paginated results for a finished SFTP batch session.

**Use Case:** Retrieve final outcomes for all claims in batch after processing completes.

**Authentication:** API Key (X-API-Key header)
**Required Scope:** `claims:read`

**Pagination:**
- page: Page number (default: 1, min: 1)
- limit: Items per page (default: 10, min: 1, max: 100)

**When to Call:**
- After status endpoint returns status: "COMPLETED" or "FAILED"
- For batch reconciliation and audit trails
- To retrieve detailed results for each claim in the batch
- Optionally filter by batch_id to get results for a specific batch

**Response Structure:**
- session_id: Batch identifier
- status: Final status (COMPLETED or FAILED)
- pagination: Pagination metadata
  - page: Current page number
  - limit: Items per page
  - total: Total number of results
  - total_pages: Total number of pages
- results: Array of individual claim results
  - claim_id: Unique claim identifier
  - external_claim_id: Your reference ID (if provided)
  - status: COMPLETED | FAILED | AWAITING_INFO
  - result: Processing outcomes (OCR, coding, validation)

**Webhook Alternative:**
Configure webhook to receive batch.completed event with results automatically.

**Example Response:**
```json
{
    "session_id": "sftp-session-20260122-001",
    "status": "COMPLETED",
    "pagination": {
        "page": 1,
        "limit": 10,
        "total": 15,
        "total_pages": 2
    },
    "results": [
        {
            "claim_id": "CLM-001",
            "external_claim_id": "HOSP-2026-001",
            "status": "COMPLETED",
            "result": {
                "patient": {"nama": "John Doe"},
                "diagnosis": {"primary_code": "A09"},
                "total_charges": 5000000,
                "validation_status": "PASSED"
            }
        }
    ]
}
```

**Error Responses:**
- 400: Session still processing - call /status first
- 401: Invalid API key
- 403: API key lacks claims:read scope
- 404: Session ID not found
- 500: Server error retrieving results

**Integration Tips:**
- Only call when status is COMPLETED or FAILED
- Store results locally for audit and reconciliation
- Use external_claim_id to correlate with your SIMRS
- Process errors array for failed claims to retry submission
- Results are retained for 30 days
get/api/v1/claims/sftp/result/{session_id}

Request

  • Base URL
    https://developer.claimmind.life (the document declares no server; this is the origin it was published from)
  • Auth
    none declared. Required headers: X-API-Key

Path parameters

session_idstring required

Query parameters

pageinteger

Page number

limitinteger

Items per page (max 100)

batch_idinteger

Optional batch ID to filter results for a specific batch

Headers

X-API-Keystring required

Response

Batch results retrieved successfully

session_idstring required
statusstring required

Changes

No recorded changes to this operation across all 1 revision of this API.