Submit Claim Attachment Raw X12

POST/claim-attachments/raw-x12-submission

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.

Authorizationstringrequiredheader

A Stedi API Key for authentication.

Body

application/json
x12stringrequired

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

  • Required string length: 1 - 6000000

Response

application/json

SubmitClaimAttachmentRawX12 200 response

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

Information about the claim attachment.

Show attributes

An opaque string identifier Stedi assigns to the claim attachment. You can use it for tracking purposes and when contacting Stedi support.

  • Required string length: 1 - 50

The patientControlNumber from the claim associated with this attachment, if supplied. This is a unique identifier that you assigned to the related claim so you can track the claim and correlate it with responses from the payer.

  • Required string length: 1 - 50

A timestamp in RFC 3339 format for Stedi's response to the submission. For example: 2025-03-07T12:34:56Z.

  • Format: date-time
metaobject

Metadata from Stedi about the request.

Show attributes

A unique identifier assigned to the processed file within the Stedi platform. This is also known as the file execution ID.

  • Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
  • Required string length: 36