Create an A/B test group for a one-time send
Changed onCreate a new A/B test group for a one-time send (referred to as a "newsletter" in our APIs). This duplicates the existing one-time send's content into a new test group, allowing you to test different versions of your message.
This endpoint does not require a request body. The new test group is created as a copy of the existing content.
You cannot add test groups to a one-time send that has already been sent.
Request
- Base URLhttps://api.customer.io
- URLhttps://api.customer.io/v1/newsletters/{newsletter_id}/test_groups
- AuthHTTP bearer
Request body
No request body is required.
Response
Returns the updated one-time send with the new test group's content IDs.
Example response
{
"newsletter": {
"id": 128275,
"deduplicate_id": "128275:1481653929",
"type": "email",
"content_ids": [
45
],
"name": "Weekly Product Update",
"sent_at": 1481653929,
"send_state": "sent",
"scheduled_at": null,
"created": 1481653919,
"updated": 1481653929,
"recipient_segment_ids": [
42,
99
],
"tags": [
"Product Updates"
],
"subscription_topic_id": 5
}
}Changes
- breaking
the response property
/became nullable for the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- breaking
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info