Open API
Claims Upload File Input Method

Submit Claim Upload

Submit a new claim with file uploads.

Upload medical documents directly as files. The service will:

  • Validate file types and sizes
  • Store files in the configured storage backend (GCS or local)
  • Trigger the medical claim orchestrator workflow

Metadata format (optional JSON string):

{
    "external_claim_id": "CLM-001",
    "payer_id": "bpjs",
    "patient": {"nama": "...", "rekam_medis": "..."},
    "admission": {"jenis_pasien": "Rawat Inap", "kelas_rawat": 1},
    "diagnosis": {"diagnosa_utama": "..."}
}

Supported file types: PDF, PNG, JPEG, TIFF Max file size: 10MB per file

Required scope: claims:write

post/api/v1/claims/upload/submit

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

Headers

X-API-Keystring required

Request body multipart/form-data

filesstring[] required

Medical documents (PDF, PNG, JPEG, TIFF)

metadatastring

Optional JSON string of claim metadata

Response

Successful Response

claim_idstring required
external_claim_idstring nullable
workflow_idstring required
statusstring required
status_urlstring required
submitted_atstring required

Example response

{
  "claim_id": "clm-abc-123-xyz",
  "external_claim_id": "CLM-2026-001",
  "status": "PROCESSING",
  "status_url": "/api/v1/claims/upload/status/clm-abc-123-xyz",
  "submitted_at": "2026-01-22T10:30:00Z",
  "workflow_id": "wf-temporal-456"
}

Changes

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