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
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | required | A claim ID (clm_...). |
Response
The claim's 837D segments. Status 200, as text/plain.
Errors
| HTTP status | Code | What it means |
|---|---|---|
| 401 | UNAUTHORIZED | A valid API key is required. Send it as "Authorization: Bearer <key>". |
| 403 | PERMISSION_DENIED | This API key is not allowed to do that. |
| 404 | NOT_FOUND | Not found. |
| 422 | INVALID_REQUEST | The request is not valid. |
| 429 | TOO_MANY_REQUESTS | Too many requests of this kind lately. Wait, then try again. |
| 504 | TIMEOUT | The request took too long. Send it again with the same Idempotency-Key and body after Retry-After seconds: a 409 means it is still finishing (wait and send again), and any other answer is final. If this 504 comes back, find what the request made by listing with ?idempotency_key=<the key>. |
| 500 | INTERNAL | Something went wrong on our side. Quote the request ID if you contact us. |
Example
Example request
curl "https://app.myclaimhouse.com/api/v1/claims/clm_01JM000000E00800000000002G/x12" \
-H "Authorization: Bearer $CLAIMHOUSE_KEY"Example response: 200
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
{
"error": "NOT_FOUND",
"message": "This claim has not been sent in a file yet.",
"errors": [],
"request_id": "req_01JM000000E008000000000010"
}