v1

latestOpenAPI 3.1.0MIT2026-07-243952451019.0 KB
Funnels::SplitTestStep

Create Split Test Step

Wrap an existing page in a new split test. Provide one variant to wrap a single page (the second branch starts empty and can be attached later via PATCH), or two variants to wrap a page and attach a fresh page as the second branch. The API never clones pages — the second variant's page must not already be used by any funnel step.

See the Funnels Skill for the full split-test surface.

post/funnels/{funnel_id}/split_test_steps

Path parameters

funnel_idinteger required

Request body

Example request

{
  "split_test_step": {
    "variants": [
      {
        "page_id": 500,
        "weight": 60
      },
      {
        "page_id": 501,
        "weight": 40
      }
    ],
    "show_page_step_id": 100
  }
}

Response

Created

idinteger

Split test step ID

public_idstring

Obfuscated split test step ID

created_atstring date-time
updated_atstring date-time

Example response

{
  "id": 1234,
  "public_id": "AbCdEf",
  "funnel": {
    "id": 42,
    "public_id": "xYz123",
    "name": "My Funnel"
  },
  "variants": [
    {
      "show_page_step": {
        "id": 100,
        "public_id": "ShPgId",
        "name": "Squeeze Page step",
        "current_path": "/squeeze"
      },
      "page": {
        "id": 500,
        "public_id": "PageId",
        "name": "Squeeze Page"
      },
      "weight": 100
    },
    {
      "show_page_step": null,
      "page": null,
      "weight": 0
    }
  ],
  "created_at": "2026-04-24T00:00:00.000Z",
  "updated_at": "2026-04-24T00:00:00.000Z"
}