---
title: "Verify a direct media upload before attaching it to feedback"
method: POST
path: "/v1/workspaces/{workspaceId}/feedback/attachments/{attachmentId}/complete"
---

# Verify a direct media upload before attaching it to feedback

`POST /v1/workspaces/{workspaceId}/feedback/attachments/{attachmentId}/complete`

## Request

- Base URL: `https://api.bangermail.com`
- URL: `https://api.bangermail.com/v1/workspaces/{workspaceId}/feedback/attachments/{attachmentId}/complete`
- Auth: HTTP bearer

## Path parameters

- `workspaceId` string, uuid, required
- `attachmentId` string, uuid, required

## Response `200`

data contains attachment_id and status ready. Completion is idempotent.

- object
  - `data` object, required
    - `attachment_id` string, uuid, required
    - `status` 'ready', required

## Other responses

- `404`: Attachment not owned by this reporter in this workspace.
- `409`: Prepare the upload first.
- `415`: File content does not match its declared format.
- `422`: Uploaded file is missing or does not match its declared size and type.

---

[API](https://skmtc.dev/bangermail/apis/banger-api.md) · [All operations](https://skmtc.dev/bangermail/apis/banger-api/llms.txt) · [OpenAPI document](https://skmtc.dev/bangermail/apis/banger-api/revisions/a149909267f9?raw)
