---
title: "Rerun a previous A/B test"
method: POST
path: "/cms/pages/2026-03/site-pages/ab-test/rerun"
tags: ["A/B tests"]
---

# Rerun a previous A/B test

`POST /cms/pages/2026-03/site-pages/ab-test/rerun`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/cms/pages/2026-03/site-pages/ab-test/rerun`
- Auth: one of:
  - HTTP bearer
  - API key in query parameter `hapikey`
  - none

Rerun a previous A/B test.

## Request body `*/*`

- CmsPagesAbTestRerunRequestVNext
  - `abTestId` string, required: ID of the test to rerun.
  - `variationId` string, required: ID of the object to reactivate as a test variation.

## Response `204`

No content

## Other responses

- `default`: An error occurred.

## Changes

> 14 revisions in range; 1 not diffed, 2 could not be searched.

- **2026-04-08** `b0d8bc008db9`: 1 info
  - api operation id `post-/cms/pages/2026-03/site-pages/ab-test/rerun_rerunPreviousABTest` removed and replaced with `post-/cms/pages/2026-03/site-pages/ab-test/rerun`
- **2026-03-30** `dc2fdad57f7f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hubspot/apis/hubspot-api-specification/changes/cms/pages/2026-03/site-pages/ab-test/rerun/post.md)

---

[API](https://skmtc.dev/hubspot/apis/hubspot-api-specification.md) - [All operations](https://skmtc.dev/hubspot/apis/hubspot-api-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/hubspot-api-specification/revisions/f9c7181056c5?raw)
