---
title: "POST /claim-attachments/file"
method: POST
path: "/claim-attachments/file"
---

# POST /claim-attachments/file

`POST /claim-attachments/file`

## Request

- Base URL: `https://claims.us.stedi.com/2025-03-07`
- URL: `https://claims.us.stedi.com/2025-03-07/claim-attachments/file`
- Auth: API key in header `Authorization`

Generate a pre-signed URL to upload a 275 claim attachment file

## Request body

- CreateClaimAttachmentFileRequestContent: Request a pre-signed URL to upload a claim attachment file.
  - `contentType` 'application/pdf' | 'image/tiff' | 'image/jpeg' | 'image/jpg' | 'image/png', required: Allowed content types for claim attachments.

## Response `201`

CreateClaimAttachmentFile 201 response

- CreateClaimAttachmentFileResponseContent: Receive the attachment ID and upload URL.
  - `attachmentId` string, required: 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.
  - `uploadUrl` string, required: 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.

## Other responses

- `400`: ValidationException 400 response
- `403`: AccessDeniedException 403 response
- `404`: ResourceNotFoundException 404 response
- `429`: ThrottlingException 429 response
- `500`: InternalFailureException 500 response

## Changes

- **2026-08-20** `8fc7ba273b38`: 1 info
  - the endpoint scheme security `httpApiKeyAuthTestEnabled` was added to the API
- **2026-02-23** `f3573b486613`: 2 info
  - added the non-success response with the status `403`
  - the `attachmentId` response's property pattern was changed from `^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$` to `^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$` for the status `201`

[Operation history](https://skmtc.dev/stedi/apis/stedi-healthcare-claims/changes/claim-attachments/file/post.md)

---

[API](https://skmtc.dev/stedi/apis/stedi-healthcare-claims.md) - [All operations](https://skmtc.dev/stedi/apis/stedi-healthcare-claims/llms.txt) - [OpenAPI document](https://skmtc.dev/stedi/apis/stedi-healthcare-claims/revisions/b4f2a7ab03b0?raw)
