# Create Claim Attachment JSON
Source: https://www.stedi.com/docs/healthcare/api-reference/post-healthcare-create-claim-attachment

***

openapi: claims post /claim-attachments/file
title: Create Claim Attachment JSON
-----------------------------------

<Warning>
  This endpoint is in **beta** and is subject to change.
</Warning>

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 submit an 837 claim with an unsolicited 275 claim attachment.

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](/healthcare/api-reference/post-healthcare-submit-claim-attachment-raw-x12) endpoint instead.

This endpoint only supports [unsolicited attachments](/healthcare/submit-claim-attachments#solicited-vs-unsolicited-attachments).

<Note>
  Visit [Claim attachments](/healthcare/submit-claim-attachments#json-apis)
  for a full how-to guide.
</Note>