---
title: "Upload a new banner"
method: POST
path: "/banner/upload"
tags: ["banners"]
---

# Upload a new banner

`POST /banner/upload`

Upload a new banner with image file. Any authenticated user can upload, but requires admin approval to activate.

## Response `200`

Banner uploaded successfully (pending approval)

- BannerResponseDto
  - `id` number, required — Banner ID
  - `bannerImageUrl` string, required — Banner image URL
  - `bannerUrl` string — Landing page URL
  - `status` 'ACTIVE' | 'DEACTIVE' | 'PENDING_APPROVE', required — Banner status
  - `order_id` string, required — Display order
  - `start_date` string, date-time — Start date
  - `end_date` string, date-time — End date
  - `languageType` 'BM' | 'EN', required — Language type

## Other responses

- `400` — Bad Request
- `401` — Unauthorized - Invalid or missing JWT token

---

[API](https://skmtc.dev/tonewow/apis/tonewow-database-api.md) · [All operations](https://skmtc.dev/tonewow/apis/tonewow-database-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tonewow/tonewow-database-api/revisions/f36472974ad4/schema)
