Preview A/B test contact distribution
GET/v1/public/campaigns/:campaignId/ab-test/preview
Calculates how the campaign contacts would be split for a given test percent: the number of contacts per variant and the share that receives the winning variant. Read-only, does not modify the campaign — helps to pick a suitable abTest.percent before saving it via campaign update.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 429
- 500
A/B test contact distribution preview.
The request is invalid.
A valid Public API token is required.
The endpoint requires a scope that is not granted to the token.
The requested resource was not found.
Campaign is not an A/B test.
The current API key exceeded the configured rate limit.
Response Headers
Retry-After
Number of seconds after which the request may be retried safely.
Internal server error.