---
title: "Create attachment"
method: POST
path: "/user/cases/{id}/attachments"
tags: ["user-cases"]
---

# Create attachment

`POST /user/cases/{id}/attachments`

Create a draft upload URL for a buyer case attachment.

This is step 1 of the buyer case attachment workflow.

Workflow:
1. Request upload credentials for the case.
2. Upload the image directly.
3. Finalize in a follow-up call.

Rules:
- Case must belong to a purchase owned by the authenticated user.
- Returns `404` when case ownership validation fails.

## Path parameters

- `id` string, required — Case ID

## Response `200`

Upload URL

- ImageUpload — Direct upload URL for an image
  - `id` string, required — Image identifier
  - `uploadURL` string, uri, required — URL to upload the image

## Other responses

- `404` — Case not found

---

[API](https://skmtc.net/managem/apis/managem-api.md) · [All operations](https://skmtc.net/managem/apis/managem-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/managem/managem-api/versions/5ed45d6a9e2f/schema)
