Newsletter Variants
List a one-time send's A/B test groups
Changed onReturns information about each test group in a one-time send (referred to as a "newsletter" in our APIs), including content ids for each group.
get/v1/newsletters/{newsletter_id}/test_groups
Request
- Base URLhttps://api.customer.io
- URLhttps://api.customer.io/v1/newsletters/{newsletter_id}/test_groups
- AuthHTTP bearer
Response
Returns metadata for each test group in a one-time send.
Example response
{
"test_groups": [
{
"id": 0,
"name": "A",
"label": "test 1",
"winner": false,
"content_ids": [
25,
26
]
},
{
"id": 2,
"name": "B",
"label": "test 2",
"winner": false,
"content_ids": [
27,
28
]
}
]
}Changes
- info
added the media type
application/jsonfor the response with the status
- info