Search…
A/B Test
A/B Test with 2mee messages is an experiment conducted to figure out the message that could possibly give higher CTR.

Prerequisites

  • Create Message A and Message B to be sent out by following the message creation process provided in the 2mee message creation section. Note the message Ids as messageIdA and messageIdB respectively.
  • From the list of User Segments available, pick the id of the segment that contains more than 8 devices. Note the segment id as filterId.
  • Note : Messages can also be created from Templates which is provided under Template Section.
post
http://server-v1.2mee.com/
abtest/create
Create A/B Test
Navigate to Messages -> A/B
Click on Create New A/B Test
Fill in A/B Test Title
curl -X POST 'http://server-v1.2mee.com/abtest/create' -H "Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0aW5ndGVhbUAybWVlLmNvbSIsImV4cCI6MTYwNDA3MzczOSwiaWF0IjoxNjA0MDU1NzM5fQ.ZS06eeAkGHqXVJN2WQndVsl6e1GWOPHKNnBKnzxyhwG-0HoPlzaKX06ENO2E5FQ4kAvfChmcU-iSYWQHBzEPig" -H "accept: */*" -H "Content-Type: application/json" -d '{
"appId": "bacb37d0-a51f-491b-bd68-489c245b8c16",
"description": "2mee A/B Test for API Documentation",
"abTestName": "2mee A/B Test",
"filterId": "9e862fc2-e3b6-4420-bf63-80ad4368ec88",
"expiry": 1440
}'
put
http://server-v1.2mee.com/
abtest/update
Update A/B Test
Select the Audience group
Message section Layout
List of Templates
Pre-filled message from template
curl -X PUT 'http://server-v1.2mee.com/abtest/update'
-H "Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0aW5ndGVhbUAybWVlLmNvbSIsImV4cCI6MTYwNDA3MzczOSwiaWF0IjoxNjA0MDU1NzM5fQ.ZS06eeAkGHqXVJN2WQndVsl6e1GWOPHKNnBKnzxyhwG-0HoPlzaKX06ENO2E5FQ4kAvfChmcU-iSYWQHBzEPig" -H "accept: */*" -H "Content-Type: application/json" -d '{
"id": "1402602b-25d7-4af2-9002-b258aeeb2fe4",
"abTestName": "2mee A/B Test",
"description": "2mee A/B Test for API Documentation",
"filterId": "9e862fc2-e3b6-4420-bf63-80ad4368ec88",
"templateIdA": "6807cbf4-be0b-4fd6-a39c-5a7e52422c74",
"templateIdB": "e5130ede-91d8-4237-b0e3-21f4c48ecf51",
"appId": "bacb37d0-a51f-491b-bd68-489c245b8c16",
"companyId": "6c445333-bac9-4ab0-a0b6-cc6838902abb",
"state": "NEW",
"playTime": "2021-08-17T11:23:29.876+0000",
"expiry": 1440
}'
post
http://server-v1.2mee.com
/abtest/validate
Validate the A/B Test
curl -X PUT 'http://server-v1.2mee.com/abtest/validate?id=1402602b-25d7-4af2-9002-b258aeeb2fe4&appId=bacb37d0-a51f-491b-bd68-489c245b8c16'
-H "Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0aW5ndGVhbUAybWVlLmNvbSIsImV4cCI6MTYwNDA3MzczOSwiaWF0IjoxNjA0MDU1NzM5fQ.ZS06eeAkGHqXVJN2WQndVsl6e1GWOPHKNnBKnzxyhwG-0HoPlzaKX06ENO2E5FQ4kAvfChmcU-iSYWQHBzEPig" -H "accept: */*"
post
http://server-v1.2mee.com
/abtest/schedule
Schedule A/B Test
Schedule the A/B Test
curl -X PUT 'http://server-v1.2mee.com/abtest/schedule?id=1402602b-25d7-4af2-9002-b258aeeb2fe4&appId=bacb37d0-a51f-491b-bd68-489c245b8c16'
-H "Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0aW5ndGVhbUAybWVlLmNvbSIsImV4cCI6MTYwNDA3MzczOSwiaWF0IjoxNjA0MDU1NzM5fQ.ZS06eeAkGHqXVJN2WQndVsl6e1GWOPHKNnBKnzxyhwG-0HoPlzaKX06ENO2E5FQ4kAvfChmcU-iSYWQHBzEPig" -H "accept: */*"
Last modified 1yr ago
Copy link
On this page
Prerequisites
post
Create A/B Test
put
Update A/B Test
post
Validate the A/B Test
post
Schedule A/B Test