---
title: "Creates a split test campaign."
method: POST
path: "/v2/campaigns/split-test"
tags: ["ApiCampaign"]
---

# Creates a split test campaign.

`POST /v2/campaigns/split-test`

## Request body

- ApiSplitTestCampaign
  - `id` integer
  - `name` string, required
  - `subjects` string[], nullable
  - `fromNames` string[], nullable
  - `fromAddresses` ApiCampaignFromAddress[], nullable
    - `id` integer
    - `email` string, nullable
  - `htmlContents` string[], nullable
  - `plainTextContents` string[], required
  - `replyAction` 'Unset' | 'WebMailForward' | 'Webmail' | 'Delete' | 'NotAvailableInThisVersion'
  - `replyToAddress` string, nullable
  - `status` 'Unsent' | 'Sending' | 'Sent' | 'Paused' | 'Cancelled' | 'RequiresSystemApproval' | 'RequiresSMSApproval' | 'RequiresWorkflowApproval' | 'Triggered' | 'NotAvailableInThisVersion'
  - `customReplyToAddress` string, nullable

## Response `201`

- ApiSplitTestCampaign
  - `id` integer
  - `name` string, required
  - `subjects` string[], nullable
  - `fromNames` string[], nullable
  - `fromAddresses` ApiCampaignFromAddress[], nullable
    - `id` integer
    - `email` string, nullable
  - `htmlContents` string[], nullable
  - `plainTextContents` string[], required
  - `replyAction` 'Unset' | 'WebMailForward' | 'Webmail' | 'Delete' | 'NotAvailableInThisVersion'
  - `replyToAddress` string, nullable
  - `status` 'Unsent' | 'Sending' | 'Sent' | 'Paused' | 'Cancelled' | 'RequiresSystemApproval' | 'RequiresSMSApproval' | 'RequiresWorkflowApproval' | 'Triggered' | 'NotAvailableInThisVersion'
  - `customReplyToAddress` string, nullable

---

[API](https://skmtc.net/dotdigital/apis/apiconnector-com.md) · [All operations](https://skmtc.net/dotdigital/apis/apiconnector-com/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dotdigital/apiconnector-com/revisions/109c0537cf77/schema)
