---
title: "Finish an upload after the PUT: checks, strips image metadata and moderates it; ready uploads are kept 30 days"
method: POST
path: "/v1/uploads/{id}/complete"
tags: ["platform-api"]
---

# Finish an upload after the PUT: checks, strips image metadata and moderates it; ready uploads are kept 30 days

`POST /v1/uploads/{id}/complete`

## Request

- Base URL: `https://api.cuddler.ai`
- URL: `https://api.cuddler.ai/v1/uploads/{id}/complete`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

ready (usable for 30 days) or rejected (with rejection_reason, file deleted); repeating the call answers the same

- object
  - `object` 'upload', required
  - `id` string, required
  - `kind` 'image' | 'video' | 'audio', required
  - `status` 'pending' | 'ready' | 'rejected' | 'expired', required
  - `content_type` string, required
  - `bytes` integer, required
  - `upload_url` string, uri
  - `upload_headers` object
  - `expires_at` string, required
  - `rejection_reason` string
  - `created_at` string, required

## Other responses

- `400`: invalid_request — nothing was PUT yet
- `401`: unauthorized — no key, or an unknown or revoked one (WWW-Authenticate: Bearer)
- `403`: organization_suspended — the organization is not active; forbidden — a test key on a live-only route
- `404`: not_found — the Platform API is switched off, or the object does not exist
- `429`: rate_limited — this key's requests per minute or the organization's moderation budget (Retry-After)
- `500`: internal_error — quote request_id when contacting support
- `503`: unavailable — moderation or storage could not answer; the upload stays pending, retry (Retry-After)

---

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