POST
/
claim-attachments
/
file
cURL
curl --request POST \
  --url https://claims.us.stedi.com/2025-03-07/claim-attachments/file \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "contentType": "application/pdf"
}'
{
  "attachmentId": "d3b3e3e3-3e3e-3e3e-3e3e-3e3e3e3e3e3e",
  "uploadUrl": "https://s3.amazonaws.com/bucket/key"
}
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.

Authorizations

Authorization
string
header
required

A Stedi API Key for authentication.

Body

application/json

Request a pre-signed URL to upload a claim attachment file.

Response

201
application/json

CreateClaimAttachmentFile 201 response

Receive the attachment ID and upload URL.