Skip to main content
POST
End an active A/B test

Supported products

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

FlowAuthorization Code
Authorization URL
https://app.hubspot.com/oauth/authorize
Token URL
https://api.hubapi.com/oauth/v1/token
Scopes1
content

Body

*/*
abTestId
string
required

ID of the test to end.

winnerId
string
required

ID of the object to designate as the test winner.

Response

No content

Last modified on September 9, 2026