Form A/B Setups
Get a form A/B setup
Get a single form A/B setup by ID, including its main form, variant forms with their weights, status, lifecycle timestamps, and the auto-close policy configured when the test was started (if any).
Scopes: forms.read
Rate Limiting: This endpoint is rate limited to 400 requests per minute.
get/form-ab-setups/{abSetupID}
Request
- Base URLhttps://api.omnisend.com/api
- URLhttps://api.omnisend.com/api/form-ab-setups/{abSetupID}
- Auth
- OAuth 2Client credentialsToken URL: https://app.omnisend.com/oauth2/token scopes: forms.read
- or API key in header Authorization
Path parameters
abSetupIDstring required
Form A/B setup ID
Headers
Omnisend-Versionstring required
API version that specifies the response format and behaviour
Response
Form A/B setup
Example response
{
"autoClose": {
"endsAt": "2026-09-30T23:59:59Z",
"stopOnSignificance": true
},
"createdAt": "2026-02-20T14:00:00Z",
"enabledAt": "2026-03-01T09:00:00Z",
"id": "683b1a2e3f4a5b6c7d8e9f00",
"launchedAt": "2026-03-01T09:00:00Z",
"mainForm": {
"formID": "683b1a2e3f4a5b6c7d8e9f00",
"name": "Newsletter Signup"
},
"updatedAt": "2026-03-10T14:00:00Z",
"versions": [
{
"formID": "683b1a2e3f4a5b6c7d8e9f01",
"name": "Variant A",
"weight": 50
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.