GET
/
landing-pages
/
{id}
/
ab-tests
Page A/B Testing
curl --request GET \
  --url https://connextify.com/api/v1/landing-pages/{id}/ab-tests \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "hypothesis": "<string>",
  "traffic_split_mode": "<string>",
  "min_sample_size": 123,
  "confidence_level": 123
}
'
{
  "success": true,
  "data": {
    "tests": [
      {}
    ]
  }
}
Conduct randomized split tests between multiple versions of a landing page or form to optimize conversion rates and click-through metrics.

Endpoints

  • GET /landing-pages/{id}/ab-tests — Retrieve active and historical experiments for a page.
  • POST /landing-pages/{id}/ab-tests — Launch a new split test experiment.
  • POST /landing-pages/{id}/ab-tests/{testId}/start — Start traffic distribution.
  • POST /landing-pages/{id}/ab-tests/{testId}/pause — Temporarily halt experiment traffic.
  • POST /landing-pages/{id}/ab-tests/{testId}/deploy-winner — Automatically promote the winning variant as the main production page.

Path Parameters

id
string
required
UUID of the base landing page or form.

Request Body (for POST /landing-pages/{id}/ab-tests)

name
string
required
Name of the split test experiment (e.g. Hero Headline & CTA Color Test).
description
string
Optional description or notes for the experiment.
hypothesis
string
The conversion hypothesis being tested.
traffic_split_mode
string
default:"equal"
Traffic distribution mode: equal (50/50) or custom.
min_sample_size
integer
default:100
Minimum visitor impressions before declaring statistical significance.
confidence_level
integer
default:95
Statistical confidence threshold (e.g. 95 for 95% certainty).

Response (for GET /landing-pages/{id}/ab-tests)

success
boolean
Whether the request succeeded.
data
object

Request Examples

curl -X POST https://connextify.com/api/v1/landing-pages/8fa95874-8b63-41c3-881c-cb89d9f5844a/ab-tests \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "New CTA Copy Experiment",
    "hypothesis": "Urgency copy increases form conversions by 15%",
    "traffic_split_mode": "equal",
    "confidence_level": 95
  }'