Create campaign where you will use your custom HTML template [Rate limited]
Email type of created campaign
Campaigns that are created using this endpoint require your own custom HTML templates to be added via API using /campaigns/:id/content endpoint or directly in MailerLite application.
Here is more details about ab_settings
object.
All fields are required!
Parameter | Type | Description |
---|---|---|
| array | Must contain two values. It depends on For example, if If |
| string | Available values:
|
| string | It defines how winner will be selected. Available values:
|
| integer | It defines how long AB test is active. Pay attention that this is only a number and type is defined as |
| string | Available values:
|
| integer | It defines size of every test group in percents equally. Available range: 5-25 |