A/B tests

End an active A/B test

Changed on

End an active A/B test and designate a winner.

post/cms/pages/2026-09/landing-pages/ab-test/end

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/cms/pages/2026-09/landing-pages/ab-test/end
  • Auth
    OAuth 2
    Authorization code: https://app.hubspot.com/oauth/authorize
    Token URL: https://api.hubapi.com/oauth/v1/token scopes: content

Request body */*

abTestIdstring required

ID of the test to end.

winnerIdstring required

ID of the object to designate as the test winner.

Response

No content

Changes

  • 2026-096da012f8648eRevision changes
    • info

      the security scope content was added to the endpoint's security scheme oauth2

    • info

      the security scope content.landing_pages.write was removed from the endpoint's security scheme oauth2

    • info

      the security scope content.landing_pages.write was added to the endpoint's security scheme oauth2

    • info

      the security scope content was removed from the endpoint's security scheme oauth2