Create Claim Attachment JSON

POST/claim-attachments/file

This endpoint is in beta and is subject to change.

This endpoint returns a pre-signed URL that you can use to upload a claim attachment file to Stedi. You must complete this step before you can call the Submit Claim Attachment (275) JSON endpoint.

  1. Call this endpoint to initiate the file upload process.
  2. The endpoint returns a unique identifier for the attachment file (attachmentId) and a pre-signed URL (uploadURL). Retain the attachmentId so you can use it when submitting the attachment to the payer.

You only need to complete this step when submitting claims through Stedi's JSON APIs. If your system already generates X12 EDI, you can send attachments directly 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
contentTypestringrequired

The MIME type of the attachment file. For example: image/png or application/pdf.

Possible values
application/pdf
image/tiff
image/jpeg
image/jpg
image/png

Response

application/json

CreateClaimAttachmentFile 201 response

attachmentIdstringrequired

Unique identifier for this attachment. You will use this ID to associate the attachment file with the claim when you submit it to the payer.

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

A pre-signed URL you can use to upload the file with a PUT request. The PUT request must include a Content-Type header that matches the MIME type you specified for the attachment file.

  • Required string length: 1 - 2000