POST
/
claim-attachments
/
raw-x12-submission
cURL
curl --request POST \
  --url https://claims.us.stedi.com/2025-03-07/claim-attachments/raw-x12-submission \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "x12": "ISA*00*          *00*          *ZZ*STEDI          *ZZ*CIGNA          *250227*2140*^*00501*000000001*0*T*>~GS*PI*STEDI*CIGNA*20250227*214016*1*X*005010X210~ST*275*1001*005010X210~BGN*11*0001*20060915~NM1*PR*2*CIGNA*****XV*62308~NM1*41*2*XYZ SERVICES*****46*1999999976~NM1*1P*2*THE HOSPITAL*****XX*3999000B01~NX1*1P~N3*123 Main~N4*Miami*FL*11111~NM1*QC*1*DOE*JOHN*J***MI*987654320~REF*EJ*DOE123~REF*EA*AAAAA12345~DTP*472*D8*20060812~LX*1~TRN*2*1822634840~STC*R4>18626-2>>LOI~DTP*368*D8*20060915~CAT*AE*TX~EFI*05~BIN*8*U3RlZGk=~SE*20*1001~GE*1*1~IEA*1*000000001~"
}'
{
  "tradingPartnerServiceId": "PAYER123",
  "claimAttachmentReference": {
    "correlationId": "att-123456",
    "patientControlNumber": "PCN123456",
    "timeOfResponse": "2025-03-07T12:34:56Z"
  },
  "meta": {
    "traceId": "4d2b3c4e-1111-4222-b333-5a6f7e8d9a00"
  }
}
This endpoint is in beta and is subject to change.
This endpoint is ideal if you have an existing system that generates X12 EDI files and you want to send them through Stedi’s API.
  1. Call this endpoint with a payload in 275 X12 EDI format.
  2. Stedi sends the attachment to the payer, so the payer can use it to adjudicate the referenced 837 professional, dental, or institutional claim.
  3. The endpoint returns summary information about the attachment submission.
This endpoint only supports unsolicited attachments.
Visit Claim attachments for a full how-to guide.

Size limit

The size limit for attachments submitted in a single request is 6MB. If you need to submit larger attachments, you must submit them through Stedi SFTP or the JSON endpoints.

Authorizations

Authorization
string
header
required

A Stedi API Key for authentication.

Body

application/json

Request to submit a raw X12 claim attachment

Response

200
application/json

SubmitClaimAttachmentRawX12 200 response

Response from submitting a raw X12 claim attachment