---
title: "Create a draft banner"
method: POST
path: "/admin/banners"
tags: ["Admin Banners"]
---

# Create a draft banner

`POST /admin/banners`

## Request body

- CreateBannerDto
  - `slug` string, required
  - `targetRoute` string, required
  - `altText` string
  - `isExplicit` boolean

## Response `200`

- BannerAdminDto
  - `id` string, required
  - `slug` string, required
  - `status` 'DRAFT' | 'PUBLISHED' | 'ARCHIVED', required
  - `order` number, required
  - `isExplicit` boolean, required
  - `targetRoute` string, required
  - `altText` string, nullable
  - `publishedAt` string, nullable
  - `createdAt` string, required
  - `updatedAt` string, required
  - `images` BannerAdminImagesDto, required
    - `desktop` BannerAdminImageDto
      - `key` string, required — Full S3 key in the static bucket.
      - `url` string, required — Full CDN URL.
    - `tablet` BannerAdminImageDto
      - `key` string, required — Full S3 key in the static bucket.
      - `url` string, required — Full CDN URL.
    - `mobile` BannerAdminImageDto
      - `key` string, required — Full S3 key in the static bucket.
      - `url` string, required — Full CDN URL.

---

[API](https://skmtc.dev/miaai/apis/backend-template-api.md) · [All operations](https://skmtc.dev/miaai/apis/backend-template-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/miaai/backend-template-api/revisions/2a8d88a5124f/schema)
