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.

Authorization
RequiredHeader

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
relatedTransactionId
StringRegex pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$Length: 36

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.

relatedExecutionId
StringRegex pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$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.

claimInformation
ObjectRequired

Information about the associated 837 claim.

Show attributes
serviceLines
claimInformation.serviceLines
Array of ObjectsRequired

A list of service lines in the claim.

Array item
attachmentDetails
claimInformation.serviceLines[].attachmentDetails
ObjectRequired

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

Show attributes
attachmentId
claimInformation.serviceLines[].attachmentDetails.attachmentId
StringRequiredRegex pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$Length: 36

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.

providerAttachmentControlNumber
claimInformation.serviceLines[].providerAttachmentControlNumber
StringRequiredLength: 1 - 50

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.

providerControlNumber
claimInformation.serviceLines[].providerControlNumber
StringLength: 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.

Response

application/json

SubmitClaimAttachment 200 response

tradingPartnerServiceId
StringLength: 2 - 80

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.

Information about the claim attachment.

Show attributes
correlationId
claimAttachmentReference.correlationId
StringLength: 1 - 50

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

patientControlNumber
claimAttachmentReference.patientControlNumber
StringLength: 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.

timeOfResponse
claimAttachmentReference.timeOfResponse
StringFormat: date-time

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

meta
Object

Metadata from Stedi about the request.

Show attributes
traceId
meta.traceId
StringRegex pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$Length: 36

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