---
search:
  tags:
    - Visibility setups
    - POST
seo:
  description: >-
    Creates a new saved setup with the same stored configuration… Reference for
    the POST /visibility-setups/{setup_id}:copy endpoint in the Zaraftis Public
    API.
sidebar:
  label: Copy a visibility setup
  badge: POST
title: Copy a visibility setup
type: openapi-operation
---
Creates a new saved setup with the same stored configuration (brand, country, language, platforms, topics, prompts, competitors) and its first immutable version, free of charge and without starting scans. The body is optional; name overrides the display name of the new setup. Pass the same Idempotency-Key on a retry to prevent a duplicate copy.

`POST /visibility-setups/{setup_id}:copy`

**Request body** (`application/json`, required)

- `name` (string)

Request body example:

```json
{
  "name": "string"
}
```

**Responses**

- `201` — The copied saved setup
- `400` — bad\_request or validation\_failed
- `404` — not\_found: unknown id, or an id this key cannot see
- `409` — conflict, duplicate\_url, or idempotency\_conflict
- `429` — rate\_limited: wait the Retry-After seconds

Response example, 201:

```json
{
  "success": true,
  "data": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "name": "string",
    "brand": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "url": "string"
    },
    "country": "st",
    "language": "string",
    "creation_mode": "manual",
    "status": "active",
    "setup_checksum": "string",
    "current_version": 1,
    "platforms": [
      "string"
    ],
    "topics": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "title": "string"
      }
    ],
    "prompts": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "text": "string",
        "topic_id": "646807af-5da6-43aa-83d3-8ac1d15ab4e5"
      }
    ],
    "competitors": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "name": "string",
        "url": "string"
      }
    ],
    "created_at": "2019-08-24T14:15:22Z"
  },
  "request_id": "string"
}
```
