# Duplicate a banner

`POST https://api.cademi.com.br/api/v3/banners/{banner_id}/copies`

Operation ID: `banners.copies.create` · API v3

Creates a copy of an existing content banner, including its showcase assignments. The copy receives a new public ID and a name derived from the original.

Required permissions: `banners.create`.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `banner_id` | path | string | yes |  |

## Responses

### 201

Returns the newly created copy of the banner.

Body: `data`: Banner.

Fields of Banner:

| Field | Type | Required | Description |
|---|---|---|---|
| `created_at` | string (date-time) | yes |  |
| `deleted` | boolean | yes |  |
| `html` | string or null | no |  |
| `id` | string | yes | Public ID of the banner, prefixed with ban_. |
| `images` | object | yes |  |
| `link` | object | yes |  |
| `name` | string | yes |  |
| `object` | string, one of `banner` | yes |  |
| `position` | integer | yes |  |
| `revision` | string | yes |  |
| `showcases` | array of string | yes |  |
| `status` | string, one of `active`, `inactive` | yes |  |
| `type` | string, one of `netflix`, `simple`, `html` | yes |  |
| `updated_at` | string (date-time) | yes |  |

### 401

The credential is missing, malformed, expired, or revoked.

Body: Error.

### 403

The current credentials do not have the permission required by this operation.

Body: Error.

### 404

The banner was not found or is not accessible with the current credentials.

Body: Error.

Full schema: https://cademi.dev/openapi/v3.json
