Skip to the page
Chapters

Claims

Get a claim's 837D

GET/api/v1/claims/{id}/x12

The claim as it was sent, as text: the envelope of the file it travelled in, the levels above the claim and the claim's own segments, one per line. The other claims of the file are left out (SE, GE and IEA are counted for what is shown). Not found until the claim is in a file.

Needs a key with read permission.

Request

Path parameters

Path parameters
NameTypeRequiredDescription
idstringrequiredA claim ID (clm_...).

Response

The claim's 837D segments. Status 200, as text/plain.

Errors

Errors
HTTP statusCodeWhat it means
401UNAUTHORIZEDA valid API key is required. Send it as "Authorization: Bearer <key>".
403PERMISSION_DENIEDThis API key is not allowed to do that.
404NOT_FOUNDNot found.
422INVALID_REQUESTThe request is not valid.
504TIMEOUTThe request took too long to finish. It may still have taken effect: look it up before sending it again with a new Idempotency-Key. What it made is found with GET /api/v1/eligibility?request_id=<this request_id>, and the same filter on /api/v1/claims and /api/v1/attachments (a key with read permission).
500INTERNALSomething went wrong on our side. Quote the request ID if you contact us.

Example

Example request

Shell
curl "https://sandbox.myclaimhouse.com/api/v1/claims/clm_01JM000000E00800000000002G/x12" \
  -H "Authorization: Bearer $CLAIMHOUSE_KEY"

Example response: 200

Text
ISA*00*          *00*          *ZZ*CLAIMHOUSE     *ZZ*262403888      *260924*2100*^*00501*000001042*0*T*:~
GS*HC*CLAIMHOUSE*262403888*20260924*2100*1042*X*005010X224A2~
ST*837*1042*005010X224A2~
BHT*0019*00*000001042*20260924*2100*CH~
NM1*41*2*CLAIM HOUSE*****46*CLAIMHOUSE~
PER*IC*CLAIM HOUSE EDI*TE*5555550100~
NM1*40*2*CLAIM HOUSE SANDBOX*****46*262403888~
HL*1**20*1~
NM1*85*2*EXAMPLE FAMILY DENTAL*****XX*1999999000~
N3*100 EXAMPLE STREET~
N4*EXAMPLEVILLE*GA*303010000~
REF*EI*009999999~
PER*IC**TE*4045550100~
HL*2*1*22*0~
SBR*P*18*******CI~
NM1*IL*1*EXAMPLE*ALEX****MI*CH-ACTIVE-FULL~
N3*1 EXAMPLE STREET~
N4*EXAMPLEVILLE*GA*30000~
DMG*D8*19850412*F~
NM1*PR*2*EXAMPLE DENTAL PLAN*****PI*00000~
CLM*CH4Q7M2K9TRB*1140***11:B:1*Y*A*Y*Y~
PWK*OZ*EL***AC*NEA100001042~
NTE*ADD*NEA#100001042~
NM1*82*1*EXAMPLE*RILEY****XX*1999990017~
PRV*PE*PXC*1223G0001X~
REF*0B*GA-000000~
LX*1~
SV3*AD:D2740*1140~
TOO*JP*3~
DTP*472*D8*20260924~
REF*6R*CH4Q7M2K9TRB-1~
SE*30*1042~
GE*1*1042~
IEA*1*000001042~

A claim that is not in a file yet: 404

JSON
{
  "error": "NOT_FOUND",
  "message": "This claim has not been sent in a file yet.",
  "errors": [],
  "request_id": "req_01JM000000E008000000000010"
}