POST
/
claim-attachments
/
raw-x12-submission
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*..."
}'
{
  "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 submits a 275 claim attachment to a payer in raw X12 EDI format. This 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 claim.
  3. Stedi returns summary information about the attachment submission.

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.

Authorizations

Authorization
string
header
required

A Stedi API Key for authentication.

Body

application/json

Request to submit a raw X12 claim attachment

x12
string
required

The X12 EDI data for the claim attachment. This data must conform to the 275 X12 EDI specification.

Required string length: 1 - 6000000

Response

200
application/json
SubmitClaimAttachmentRawX12 200 response

Response from submitting a raw X12 claim attachment

tradingPartnerServiceId
string

An ID for the payer you identified in the related transaction. This value may differ from the tradingPartnerServiceId you submitted in the original claim request because it reflects the payer's internal concept of their ID, not necessarily the ID Stedi uses to route requests to this payer.

Required string length: 2 - 80
claimAttachmentReference
object

Information about the claim attachment.

meta
object

Metadata from Stedi about the request.