Professional Claims (837P) Raw X12

Submit an 837P professional claim in raw X12 EDI format

POST/change/medicalnetwork/professionalclaims/v3/raw-x12-submission

This endpoint is ideal if you have an existing system that generates X12 EDI files and you want to send them through Stedi.

  1. Call this endpoint with a payload in 837 X12 EDI format.
  2. Stedi validates the EDI and sends the claim to the payer.
  3. The endpoint returns a response from Stedi in JSON format containing information about the claim you submitted and whether the submission was successful.

Claim identifier

Loop 2300 REF02 (Claim Identifier for Transmission Intermediaries) has different usage rules depending on your role:

  • Providers: Don't include Loop 2300 REF02 when REF01 = D9 in your claim submission. It's reserved for clearinghouses and intermediaries. You can use Loop 2300 CLM01 (Patient Control Number) to correlate claims with responses instead.
  • Clearinghouses and intermediaries: You can optionally include REF*D9 in your 837 submissions. Stedi always returns this value in Loop 2200D REF*D9 of 277CA claim acknowledgments, allowing you to match these responses to the claim.

CMS-1500 Claim Form PDF

When you submit a professional claim, Stedi automatically generates a 1500 claim form PDF. If you plan to send these PDFs to payers or retain them for your records, we strongly recommend reviewing the CMS-1500 claim form PDF documentation to learn how to structure claim submissions for optimal generation, the correct printer settings for generated PDFs, and general best practices.

Authorization
RequiredHeader

A Stedi API Key for authentication. Supports both test and production API keys.

Headers

Idempotency-Key
StringLength: 1 - 255

A unique string to identify this request to the server. The key can be up to 255 characters. You can safely retry requests with the same idempotency key within 24 hours of making the first request. This prevents you from sending duplicate claims due to network errors or other intermittent failures. Learn more.

Body

application/json
x12
StringRequired

Response

application/json

Information about the claim.

Show attributes

An identifier for the transaction.

editResponses
Array of Objects

Currently not used.

Array item
editStatus
StringDeprecated

This shape is deprecated: Currently not used.

errors
Array of Objects

Errors resulting from claim edits. You must review and fix these errors before resubmitting.

Array item
failure
Object

Currently not used.

Show attributes

Stedi can return the following status codes:

  • 200: Stedi successfully generated the X12 EDI claim format required by the payer. It does not indicate whether the payer has accepted the claim - the payer will respond later with a 277CA containing this information. Learn more about 277CAs.
  • 400: The request contains one or more problems with the claim data. Examples include missing required fields, invalid values, or incorrect data types. The response includes a message describing the problem.
  • 403: The request is not permitted, such as using a test API key to submit a production transaction.
Possible values
200 OK
400 BAD_REQUEST
403 FORBIDDEN
meta
Object

Metadata from Stedi about the request.

Show attributes
payer
Object

Information about the payer for the submitted claim.

Show attributes
status
String

The status of the claim submission.

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

warnings
Array of Objects

A list of warnings. Currently not used.

Array item
x12
String

A 277CA claim acknowledgment acceptance or rejection from Stedi in X12 EDI format. It indicates whether the claim has passed Stedi's claim edits.

When the claim fails one or more edits, the 277CA contains STC segments with information about each error. These are the same error codes that appear in the errors array.

Note that this 277CA only indicates whether Stedi has accepted or rejected the claim submission. You may receive additional 277CA acceptances or rejections as the claim is routed to the payer.