Submit Claim Attachment JSON

POST/claim-attachments/submission

This endpoint is in beta and is subject to change.

This endpoint submits a 275 claim attachment to a payer.

  1. Call this endpoint with the required information to link the attachment to the correct claim.
  2. Stedi generates the X12 EDI 275 transaction and sends it to the payer.
  3. The endpoint returns summary information about the submission.

This endpoint is for 837 claims submitted in JSON format. If your system already generates X12 EDI, you can send attachments through the Submit Claim Attachment (275) Raw X12 endpoint instead.

This endpoint only supports unsolicited attachments.

Visit Claim attachments for a full how-to guide.

Authorizationstringrequiredheader

A Stedi API Key for authentication.

Body

application/json

Whether you want to send a test or production claim. This property also allows you to filter claims in the Stedi portal by production or test data. By default, this property is set to P for production data. Use T to designate a claim as test data.

Possible values
P
T

The transaction ID of the claim related to this attachment. You can find this value in the transaction processed event for the claim or on the claim's transaction details page in the Stedi portal.

You must provide either the relatedTransactionId or relatedExecutionId property in the request.

  • 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

The file execution ID of the claim related to this attachment. The referenced file must contain exactly one transaction, an 837 claim. You can find this value in the meta.traceId property of the claim submission API response or in the file delivered event Stedi generates when it delivers your claim to the payer.

You must provide either the relatedTransactionId or relatedExecutionId property in the request.

  • 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
claimInformationobjectrequired

Information about the associated 837 claim.

Show Attributes
claimInformation.serviceLinesarray<object>required

A list of service lines in the claim.

Array Item

Identify the attachment file you want to include in the generated 275 transaction.

Show Attributes

The unique identifier for the attachment file you previously uploaded to Stedi. This value is returned in the attachmentId property of the Create Claim Attachment (275) JSON response.

  • 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

The value you submitted in the claim's attachmentControlNumber property. It will allow the payer to associate this attachment with the claim that's already in their system.

  • Required string length: 1 - 50

The value you submitted in a specific service line's providerControlNumber property. Set this property to indicate that the attachment should be associated with a specific service line and not the entire claim.

This doesn't apply to dental claims, which can only identify attachments at the claim level.

  • Required string length: 1 - 50

Response

application/json

SubmitClaimAttachment 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