---
title: "Upload site-content media"
method: POST
path: "/v1/admin/content/media"
tags: ["Operations"]
---

# Upload site-content media

`POST /v1/admin/content/media`

## Request

- Base URL: `https://loppee.com`
- URL: `https://loppee.com/v1/admin/content/media`
- Auth: HTTP bearer

Upload site-content media. The response is scoped and validated by the runtime repository; unknown or unauthorized resources use the canonical error envelope.

## Request body

- object
  - `kind` 'image' | 'video', required
  - `file_name` string, required
  - `content_type` string, required
  - `size_bytes` number, required
  - `data_base64` string, required
  - `alt` string
  - `caption` string
  - `width` number
  - `height` number

## Response `200`

Upload site-content media response

- object: Uploaded site-content media.

## Other responses

- `400`: ErrorResponse
- `401`: ErrorResponse
- `403`: ErrorResponse
- `404`: ErrorResponse
- `409`: ErrorResponse
- `413`: ErrorResponse
- `429`: RateLimitError
- `default`: ErrorResponse

---

[API](https://skmtc.dev/loppee/apis/loppee-business-registry-api-for-external-agents.md) · [All operations](https://skmtc.dev/loppee/apis/loppee-business-registry-api-for-external-agents/llms.txt) · [OpenAPI document](https://skmtc.dev/loppee/apis/loppee-business-registry-api-for-external-agents/revisions/37285f7cddcd?raw)
