Skip to content

EDI Import API

Import and process EDI-X12 transaction files.

Overview

The EDI Import API allows you to upload and process standard EDI-X12 files, specifically the 837i (Institutional Health Care Claim) transaction set.

Base Path: /api/v1/edi-import

Authentication: Required for all endpoints (Bearer token)

Endpoints

Import 837i File

Upload and process an EDI-X12 837i transaction file.

Endpoint: POST /edi-import/837i

Request Body:

multipart/form-data

Field Type Required Description
edi_file File Yes The EDI-X12 837i file to upload.
description String No Optional description for the import job.

Response:

{
  "status": "success",
  "message": "EDI file received. Parsing not yet implemented.",
  "claims": [],
  "filename": "claims_batch_001.x12",
  "description": "Weekly claims import"
}

Example Request:

curl -X POST "https://api.example.com/api/v1/edi-import/837i" \
  -H "Authorization: Bearer <token>" \
  -F "edi_file=@/path/to/claims.x12" \
  -F "description=Weekly claims import"