# Copy Website Split Test

Copies a website split test into a new one with the same kind, selection, variants and goals; the account limit applies. The copy starts without visitors, conversions or winner and is not locked; the original stays. Nothing reaches a website until the customer embeds the new snippet.

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "ID of the split test to copy, from search-website-split-tests",
      "minimum": 1
    },
    "name": {
      "type": "string",
      "description": "Name of the new split test in KlickTipp",
      "minLength": 1,
      "maxLength": 250
    },
    "accountId": {
      "type": [
        "null",
        "integer"
      ],
      "description": "User ID of the account; omit for the account of the access token",
      "default": null,
      "minimum": 1
    }
  },
  "required": [
    "id",
    "name"
  ],
  "additionalProperties": false
}
```

## Output schema:

```json
{
  "type": "object",
  "required": [
    "accountId",
    "type",
    "id",
    "settings",
    "ui"
  ],
  "properties": {
    "accountId": {
      "type": "integer"
    },
    "type": {
      "type": "string"
    },
    "id": {
      "type": "integer"
    },
    "settings": {
      "type": "object"
    },
    "ui": {
      "type": "object"
    }
  },
  "additionalProperties": false
}
```

