Zoho: Ab testing schemas
49 Zoho schemas with complete fields and constraints.
← Ab testing operations · All schemas
Create AB testing configuration — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Request body schema for creating a new AB test configuration. Additional keys: not allowed |
AB_testing | array | Required within parent | Represents the array of AB test configurations to create. The request body must contain a **AB_testing** array with one object. Maximum items: 1 |
AB_testing[] | Model | Each item | Expand Create AB testing configuration — request body — body AB testing item |
Referenced models: Create AB testing configuration — request body — body AB testing item
Create AB testing configuration — request body — body AB testing item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the AB test configuration object in a create request, including base form, variant forms, condition, and winner settings. Additional keys: not allowed |
base_form | Model | Required within parent | Expand Create AB testing configuration — request body — body AB testing item base form |
condition | Model | Required within parent | Expand Create AB testing configuration — request body — body AB testing item condition |
dynamic_allocation_by_zia | boolean | Optional | Specify whether to enable Zia-based dynamic traffic allocation for the AB test. Possible values: **true** - Zia dynamically adjusts traffic allocation based on performance. **false** - Traffic is allocated according to the manually configured split. |
module | Model | Required within parent | Expand Create AB testing configuration — request body — body AB testing item module |
name | string | Required within parent | Specify the name of the AB test configuration. Maximum length: 255 |
notify | boolean | Optional | Specify whether to enable notifications for this AB test. Possible values: **true** - Notifications are sent when the test reaches a significant milestone. **false** - No notifications are sent. |
status | string | Required within parent | Specify the initial status of the AB test. Possible values: **drafted** - Create the test without starting it. **running** - Start the test immediately. **scheduled** - Schedule the test to start at a future date. One of: drafted, running, scheduled Maximum length: 255 |
traffic | integer | Optional | Specify the total percentage of visitor traffic to allocate to this AB test. Format: int32 |
traffic_diversion | null | Optional | Specify the traffic diversion configuration for the AB test, if applicable. Set to null when no traffic diversion is required. |
variant_form | array | Required within parent | Specify the list of variant webforms to include in the AB test, each with its own traffic allocation and appearance settings. Maximum items: 2 |
variant_form[] | Model | Each item | Expand Create AB testing configuration — request body — body AB testing item variant form item |
winner_configuration | Model | Optional | Expand Create AB testing configuration — request body — body AB testing item winner configuration |
Referenced models: Create AB testing configuration — request body — body AB testing item module, Create AB testing configuration — request body — body AB testing item base form, Create AB testing configuration — request body — body AB testing item condition, Create AB testing configuration — request body — body AB testing item variant form item, Create AB testing configuration — request body — body AB testing item winner configuration
Create AB testing configuration — request body — body AB testing item base form
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the base webform configuration to include when creating an AB test, including the form ID and traffic allocation. Additional keys: not allowed |
id | string | Optional | Specify the unique identifier of the base webform to include in the AB test. Maximum length: 255 |
traffic | integer | Optional | Specify the percentage of visitor traffic to allocate to the base webform. Format: int32 |
Create AB testing configuration — request body — body AB testing item condition
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the condition that determines when an AB test ends, including the condition type, period, unit, and remaining time. Additional keys: not allowed |
from | string | Optional | Represents the start date and time of the AB test when the condition type is **range**. Format: date-time Maximum length: 25 |
period | string | Optional | Represents the time period unit used for a duration-based test condition. Possible values: **days** - The duration is measured in days. **weeks** - The duration is measured in weeks. **months** - The duration is measured in months. One of: days, weeks, months Maximum length: 255 |
remaining | integer | Optional | Represents the number of days or visits remaining before the AB test condition is met. Format: int32 |
to | string | Optional | Represents the end date and time of the AB test when the condition type is **range**. Format: date-time Maximum length: 25 |
type | string | Required within parent | Represents the type of condition used to determine when the AB test ends. Possible values: **duration** - The test runs for a fixed period. **range** - The test runs between a start and end date. **visits** - The test ends after a target number of visitor sessions. One of: duration, range, visits Maximum length: 255 |
unit | integer | Optional | Represents the numeric value of the test condition, such as the number of days, weeks, months, or visitor sessions. Format: int32 |
visitors | integer | Optional | Represents the target number of visitor sessions required to complete the AB test when the condition type is **visits**. Format: int32 |
Create AB testing configuration — request body — body AB testing item module
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the CRM module associated with an AB test, identified by its API name and ID. Additional keys: not allowed |
api_name | string | Optional | Represents the API name of the CRM module associated with the AB test. Maximum length: 50 |
id | string | Optional | Represents the unique identifier of the CRM module associated with the AB test. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
Create AB testing configuration — request body — body AB testing item variant form item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the variant webform configuration to include when creating or updating an AB test. Additional keys: not allowed |
button_attributes | array | Optional | Specify the list of button configurations for the variant webform, including submit and reset buttons. Maximum items: 2 |
button_attributes[] | Model | Each item | Expand Create AB testing configuration — request body — body AB testing item variant form item button attributes item |
form_attributes | Model | Optional | Expand Create AB testing configuration — request body — body AB testing item variant form item form attributes |
form_fields | array | Optional | Specify the list of form fields to include in the variant webform. Maximum items: 5 |
form_fields[] | Model | Each item | Expand Create AB testing configuration — request body — body AB testing item variant form item form fields item |
traffic | integer | Optional | Specify the percentage of visitor traffic to allocate to this variant webform. Format: int32 |
Referenced models: Create AB testing configuration — request body — body AB testing item variant form item button attributes item, Create AB testing configuration — request body — body AB testing item variant form item form attributes, Create AB testing configuration — request body — body AB testing item variant form item form fields item
Create AB testing configuration — request body — body AB testing item variant form item button attributes item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the visual configuration of a button on a webform variant, including its color and label. Additional keys: not allowed |
color | string | Optional | Represents the color of the button, specified as a hex code or color name. Maximum length: 255 |
name | string | Required within parent | Represents the label text displayed on the button. Maximum length: 255 |
Create AB testing configuration — request body — body AB testing item variant form item form attributes
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the visual styling configuration of a webform variant, including width, color, font attributes, and alignment. Additional keys: not allowed |
align | string | Optional | Represents the alignment of the webform on the page. Possible values: **right** - Align the form to the right. **left** - Align the form to the left. **top** - Align the form to the top. One of: right, left, top Maximum length: 255 |
color | string | Optional | Represents the background color of the webform, specified as a hex code or color name. Maximum length: 255 |
display_form_name | boolean | Optional | Indicates whether the form name is displayed on the webform. Possible values: **true** - The form name is displayed. **false** - The form name is not displayed. |
font_attributes | Model | Optional | Expand Create AB testing configuration — request body — body AB testing item variant form item form attributes font attributes |
width | integer | Optional | Represents the width of the webform in pixels. Possible values: **600** - 600 pixels. **700** - 700 pixels. **800** - 800 pixels. **900** - 900 pixels. One of: 600, 700, 800, 900 Format: int32 |
Referenced models: Create AB testing configuration — request body — body AB testing item variant form item form attributes font attributes
Create AB testing configuration — request body — body AB testing item variant form item form attributes font attributes
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the font styling configuration for a webform, including size, color, and font family. Additional keys: not allowed |
color | string | Optional | Represents the font color of the form text, specified as a hex code or color name. Maximum length: 255 |
family | string | Optional | Represents the font family used for the form text. Maximum length: 255 |
size | integer | Optional | Represents the font size used for the form text, in points. Format: int32 |
Create AB testing configuration — request body — body AB testing item variant form item form fields item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a field entry in a webform, including its type, visibility, and help configuration. Additional keys: not allowed |
date_format | string or null | Optional | Represents the date format used for date fields in the webform. Returns null when no date format is specified. Maximum length: 50 |
default_value | string or null | Optional | Represents the default value pre-populated in the hidden field on the webform. Maximum length: 32000 |
field | Model | Optional | Expand Create AB testing configuration — request body — body AB testing item variant form item form fields item field |
field_info | Model | Optional | Expand Create AB testing configuration — request body — body AB testing item variant form item form fields item field info |
field_name | string or null | Optional | Represents the display name of the field as shown on the webform. Maximum length: 255 |
help | object or null | Optional | Represents the help configuration for the field, including help text and an optional URL. Returns null when no help is configured. |
hidden | boolean or null | Optional | Indicates whether the field is hidden on the webform. Possible values: **true** - The field is hidden from visitors. **false** - The field is visible to visitors. |
privacy_value | string or null | Optional | Represents the privacy policy content displayed in the privacy policy field on the webform. Maximum length: 2000 |
recaptcha_label | string or null | Optional | Represents the label displayed for the reCAPTCHA field on the webform. Maximum length: 50 |
required | boolean or null | Optional | Indicates whether the field is required on the webform. Possible values: **true** - The field must be filled in before the form can be submitted. **false** - The field is optional. |
secret_key | string or null | Optional | Represents the secret key used for reCAPTCHA verification on the webform. Maximum length: 50 |
site_key | string or null | Optional | Represents the site key used to render the reCAPTCHA widget on the webform. Maximum length: 50 |
theme | string or null | Optional | Represents the visual theme applied to the reCAPTCHA widget. Possible values: **dark** - The reCAPTCHA uses a dark color scheme. **light** - The reCAPTCHA uses a light color scheme. One of: dark, light Maximum length: 5 |
type | string | Required within parent | Represents the category of the webform field. Possible values: **general** - A standard CRM field. **advanced** - A specialized or custom field. **portal** - A portal-specific field. One of: general, advanced, portal Maximum length: 255 |
Referenced models: Create AB testing configuration — request body — body AB testing item variant form item form fields item field info, Create AB testing configuration — request body — body AB testing item variant form item form fields item field
Create AB testing configuration — request body — body AB testing item variant form item form fields item field
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a CRM field included in a webform, identified by its API name, field label, and ID. Additional keys: not allowed |
api_name | string | Required within parent | Represents the API name of the CRM field included in the webform. Maximum length: 255 |
field_label | string | Optional | Represents the display label of the CRM field as shown on the webform. Maximum length: 255 |
id | string | Required within parent | Represents the unique identifier of the CRM field. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
Create AB testing configuration — request body — body AB testing item variant form item form fields item field info
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object or null | Root | Represents an advanced or custom field type included in a webform variant. Additional keys: not allowed |
field_label | string | Optional | Represents the display label of the advanced webform field. Maximum length: 255 |
type | string | Required within parent | Represents the API name that identifies the type of the advanced webform field. Maximum length: 255 |
Create AB testing configuration — request body — body AB testing item winner configuration
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the winner declaration configuration for an AB test, including automatic announcement settings and the conversion percentage difference threshold. Additional keys: not allowed |
announce_automatically | boolean | Optional | Indicates whether the winning form is announced automatically when the conversion percentage difference threshold is met. Possible values: **true** - The winner is announced automatically. **false** - The winner must be announced manually. One of: true, false |
conversion_percentage_difference | integer | Optional | Represents the minimum conversion rate percentage difference required to automatically declare a winner. Required when **announce_automatically** is **true**. Format: int32 |
Create AB testing configuration — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Successful response returned after creating a new AB test configuration. Additional keys: not allowed |
AB_testing | array | Optional | Represents the list of results for the AB test creation operation. Maximum items: 1 |
AB_testing[] | Model | Each item | Expand Create AB testing configuration — response body — AB testing item |
Referenced models: Create AB testing configuration — response body — AB testing item
Create AB testing configuration — response body — AB testing item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the result object for a successful AB test create, update, or delete operation. Additional keys: not allowed |
code | string | Optional | Represents the status code of the AB test operation result. Possible values: **SUCCESS** - The operation completed successfully. Maximum length: 255 |
details | Model | Optional | Expand Create AB testing configuration — response body — AB testing item details |
message | string | Optional | Represents the message describing the result of the AB test operation. Maximum length: 255 |
status | string | Optional | Represents the status of the AB test operation. Possible values: **success** - The AB test operation completed successfully. Maximum length: 255 |
Referenced models: Create AB testing configuration — response body — AB testing item details
Create AB testing configuration — response body — AB testing item details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the details returned in a successful AB test operation response, including the ID of the affected record. Additional keys: not allowed |
id | string | Optional | Represents the unique identifier of the AB test record affected by the operation. Maximum length: 19 |
Delete an A B Testing configuration by ID — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Successful response returned after deleting an AB test configuration. Additional keys: not allowed |
AB_testing | array | Optional | Represents the list of results for the AB test delete operation. Maximum items: 1 |
AB_testing[] | Model | Each item | Expand Create AB testing configuration — response body — AB testing item |
Referenced models: Create AB testing configuration — response body — AB testing item
Get A B testing visitor counts — response body — AB testing
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Successful response returned when retrieving aggregated visitor statistics for all AB tests in a module. Additional keys: not allowed |
AB_testing | array | Optional | Represents the list of visitor statistics for each AB test in the specified module. Maximum items: 1 |
AB_testing[] | Model | Each item | Expand Get visitor metrics for a specific Webform A B Testing — response body — AB testing item |
Referenced models: Get visitor metrics for a specific Webform A B Testing — response body — AB testing item
Get AB Testing configuration by ID — response body — AB testing
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Successful response returned when retrieving the details of a specific AB test configuration by ID. Additional keys: not allowed |
AB_testing | array | Optional | Represents the list of AB test configurations returned for the specified AB test ID. Maximum items: 1 |
AB_testing[] | Model | Each item | Expand Get AB Testing configuration by ID — response body — AB testing AB testing item |
Referenced models: Get AB Testing configuration by ID — response body — AB testing AB testing item
Get AB Testing configuration by ID — response body — AB testing AB testing item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents an AB test configuration object with full details, including base form, variant forms, condition, and winner configuration. Additional keys: not allowed |
base_form | Model | Required within parent | Expand Get AB Testing configuration by ID — response body — AB testing AB testing item base form |
code | string | Optional | Represents the response code returned for the AB test operation. Maximum length: 255 |
complete_restart_info | null | Optional | Represents information about a complete restart of the AB test, if applicable. Returns null when no restart has occurred. |
condition | Model | Required within parent | Expand Get AB Testing configuration by ID — response body — AB testing AB testing item condition |
created_by | Model | Optional | Expand Update AB testing configuration by ID — request body — body AB testing item created by |
created_time | string | Optional | Represents the creation date and time of the AB test configuration. Maximum length: 255 |
days | JSON | Optional | |
days (anyOf 1) | integer | Alternative | Represents the number of days the AB test has been running. Format: int32 |
days (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
dynamic_allocation_by_zia | boolean | Optional | Indicates whether the traffic allocation between the base form and variant forms is managed dynamically by Zia, the AI assistant. Possible values: **true** - Zia dynamically adjusts traffic allocation based on performance. **false** - Traffic is allocated according to the manually configured split. |
id | string | Optional | Represents the unique identifier of the AB test configuration. Maximum length: 19 |
module | Model | Required within parent | Expand Create AB testing configuration — request body — body AB testing item module |
name | string | Required within parent | Represents the name of the AB test configuration. Maximum length: 255 |
notify | boolean | Optional | Indicates whether notifications are enabled for this AB test. Possible values: **true** - Notifications are sent when the test reaches a significant milestone. **false** - No notifications are sent. |
pause_resume_info | null | Optional | Represents information about a pause or resume action on the AB test, if applicable. Returns null when no pause or resume action has occurred. |
start_time | string | Optional | Represents the scheduled start time of the AB test. Maximum length: 255 |
started_time | string | Optional | Represents the actual date and time when the AB test started running. Maximum length: 255 |
status | string | Required within parent | Represents the current lifecycle status of the AB test. Possible values: **drafted** - The test exists but has not started. **running** - The test actively distributes traffic. **scheduled** - The test starts at a future date. **paused** - The test has stopped temporarily. **completed** - The test has finished and results are available. **launched** - The winning form has launched. Known values: drafted, running, scheduled, completed, launched, paused Maximum length: 255 |
suggestion | null | Optional | Represents the AI-generated suggestion for the AB test, if available. Returns null when no suggestion is available. |
traffic | JSON | Optional | |
traffic (anyOf 1) | integer | Alternative | Represents the total percentage of visitor traffic allocated to this AB test. Format: int32 |
traffic (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
traffic_diversion | null | Optional | Represents the traffic diversion configuration for the AB test, if applicable. Returns null when no traffic diversion is configured. |
variant_form | array | Required within parent | Represents the list of variant webforms included in the AB test, each with its own traffic allocation and performance data. Maximum items: 2 |
variant_form[] | Model | Each item | Expand Get AB Testing configuration by ID — response body — AB testing AB testing item variant form item |
visitors | JSON | Optional | |
visitors (anyOf 1) | integer | Alternative | Represents the total number of visitors who have been exposed to the AB test. Format: int32 |
visitors (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
winner_configuration | Model | Optional | Expand Get AB Testing configuration by ID — response body — AB testing AB testing item winner configuration |
Referenced models: Update AB testing configuration by ID — request body — body AB testing item created by, Create AB testing configuration — request body — body AB testing item module, Get AB Testing configuration by ID — response body — AB testing AB testing item base form, Get AB Testing configuration by ID — response body — AB testing AB testing item condition, Get AB Testing configuration by ID — response body — AB testing AB testing item variant form item, Get AB Testing configuration by ID — response body — AB testing AB testing item winner configuration
Get AB Testing configuration by ID — response body — AB testing AB testing item base form
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the base webform in an AB test, including its traffic allocation, performance metrics, and embed code formats. Additional keys: not allowed |
active | boolean | Optional | Indicates whether the base webform is currently active. Possible values: **true** - The webform is active and accepting submissions. **false** - The webform is inactive. |
code_formats | array | Optional | Represents the list of embed code formats available for this webform. Maximum items: 3 |
code_formats[] | string | Each item | Represents an available embed code format for the webform. Possible values: **source** - The raw HTML source code. **embed** - The embeddable script tag. **iframe** - The iframe embed code. Maximum length: 255 |
embed_code | string | Optional | Represents the embeddable script code for the webform. Maximum length: 255 |
id | string | Required within parent | Represents the unique identifier of the base webform. Maximum length: 255 |
iframe_code | string | Optional | Represents the iframe embed code for displaying the webform. Maximum length: 255 |
leading | boolean | Optional | Indicates whether the base form is currently leading in the AB test based on performance metrics. Possible values: **true** - The base form is leading. **false** - The base form is not leading. |
module | Model | Optional | Expand Create AB testing configuration — request body — body AB testing item module |
name | string | Optional | Represents the name of the base webform. Maximum length: 255 |
no_of_submission | JSON | Optional | |
no_of_submission (anyOf 1) | integer | Alternative | Represents the total number of form submissions received by the base webform during the AB test. Format: int32 |
no_of_submission (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
no_of_visits | JSON | Optional | |
no_of_visits (anyOf 1) | integer | Alternative | Represents the total number of visitor sessions on the base webform during the AB test. Format: int32 |
no_of_visits (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
old_traffic | null | Optional | Represents the previous traffic allocation percentage for the base webform before the most recent update. Returns null when no previous allocation exists. |
source_code | string | Optional | Represents the full HTML source code of the base webform. Maximum length: 255 |
traffic | JSON | Required within parent | |
traffic (anyOf 1) | integer | Alternative | Represents the percentage of visitor traffic allocated to the base webform. Format: int32 |
traffic (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
winner | boolean | Optional | Indicates whether the base webform has been declared the winner of the AB test. Possible values: **true** - The base webform is the declared winner. **false** - The base webform has not been declared the winner. |
winner_confidence | null | Optional | Represents the statistical confidence level for declaring the base webform as the winner. Returns null when the confidence has not been calculated. |
Referenced models: Create AB testing configuration — request body — body AB testing item module
Get AB Testing configuration by ID — response body — AB testing AB testing item condition
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the condition that determines when an AB test ends, including the condition type, period, unit, and remaining time. Additional keys: not allowed |
from | string | Optional | Represents the start date and time of the AB test when the condition type is **range**. Format: date-time Maximum length: 25 |
period | string | Optional | Represents the time period unit used for a duration-based test condition. Possible values: **days** - The duration is measured in days. **weeks** - The duration is measured in weeks. **months** - The duration is measured in months. Known values: days, weeks, months Maximum length: 255 |
remaining | JSON | Optional | |
remaining (anyOf 1) | integer | Alternative | Represents the number of days or visits remaining before the AB test condition is met. Format: int32 |
remaining (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
to | string | Optional | Represents the end date and time of the AB test when the condition type is **range**. Format: date-time Maximum length: 25 |
type | string | Required within parent | Represents the type of condition used to determine when the AB test ends. Possible values: **duration** - The test runs for a fixed period. **range** - The test runs between a start and end date. **visits** - The test ends after a target number of visitor sessions. Known values: duration, range, visits Maximum length: 255 |
unit | JSON | Optional | |
unit (anyOf 1) | integer | Alternative | Represents the numeric value of the test condition, such as the number of days, weeks, months, or visitor sessions. Format: int32 |
unit (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
visitors | JSON | Optional | |
visitors (anyOf 1) | integer | Alternative | Represents the target number of visitor sessions required to complete the AB test when the condition type is **visits**. Format: int32 |
visitors (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
Get AB Testing configuration by ID — response body — AB testing AB testing item variant form item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a variant webform in an AB test response, including its traffic allocation, performance metrics, embed code formats, and form fields. Additional keys: not allowed |
active | boolean | Optional | Indicates whether the variant webform is currently active. Possible values: **true** - The webform is active and accepting submissions. **false** - The webform is inactive. |
button_attributes | array | Required within parent | Represents the list of button configurations for the variant webform, including submit and reset buttons. Maximum items: 2 |
button_attributes[] | Model | Each item | Expand Create AB testing configuration — request body — body AB testing item variant form item button attributes item |
code_formats | array | Optional | Represents the list of embed code formats available for this variant webform. Maximum items: 3 |
code_formats[] | string | Each item | Represents an available embed code format for the variant webform. Possible values: **source** - The raw HTML source code. **embed** - The embeddable script tag. **iframe** - The iframe embed code. Maximum length: 255 |
embed_code | string | Optional | Represents the embeddable script code for the variant webform. Maximum length: 255 |
encrypted_form_id | string | Optional | Represents the encrypted identifier of the variant webform, used for analytics and tracking. Maximum length: 255 |
form_attributes | Model | Optional | Expand Get AB Testing configuration by ID — response body — AB testing AB testing item variant form item form attributes |
form_fields | array | Required within parent | Represents the list of form fields included in the variant webform. Maximum items: 5 |
form_fields[] | Model | Each item | Expand Get AB Testing configuration by ID — response body — AB testing AB testing item variant form item form fields item |
id | string | Optional | Represents the unique identifier of the variant webform. Maximum length: 19 |
iframe_code | string | Optional | Represents the iframe embed code for displaying the variant webform. Maximum length: 255 |
leading | boolean | Optional | Indicates whether the variant form is currently leading in the AB test based on performance metrics. Possible values: **true** - The variant form is leading. **false** - The variant form is not leading. |
module | Model | Optional | Expand Create AB testing configuration — request body — body AB testing item module |
name | string | Optional | Represents the name of the variant webform. Maximum length: 255 |
no_of_submission | JSON | Optional | |
no_of_submission (anyOf 1) | integer | Alternative | Represents the total number of form submissions received by the variant webform during the AB test. Format: int32 |
no_of_submission (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
no_of_visits | JSON | Optional | |
no_of_visits (anyOf 1) | integer | Alternative | Represents the total number of visitor sessions on the variant webform during the AB test. Format: int32 |
no_of_visits (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
old_traffic | null | Optional | Represents the previous traffic allocation percentage for the variant webform before the most recent update. Returns null when no previous allocation exists. |
source_code | string | Optional | Represents the full HTML source code of the variant webform. Maximum length: 255 |
tracking_code | string | Optional | Represents the analytics tracking script injected into the variant webform for visitor tracking. Maximum length: 2000 |
traffic | JSON | Required within parent | |
traffic (anyOf 1) | integer | Alternative | Represents the percentage of visitor traffic allocated to the variant webform. Format: int32 |
traffic (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
winner | boolean | Optional | Indicates whether the variant webform has been declared the winner of the AB test. Possible values: **true** - The variant webform is the declared winner. **false** - The variant webform has not been declared the winner. |
winner_confidence | null | Optional | Represents the statistical confidence level for declaring the variant webform as the winner. Returns null when the confidence has not been calculated. |
Referenced models: Create AB testing configuration — request body — body AB testing item variant form item button attributes item, Create AB testing configuration — request body — body AB testing item module, Get AB Testing configuration by ID — response body — AB testing AB testing item variant form item form attributes, Get AB Testing configuration by ID — response body — AB testing AB testing item variant form item form fields item
Get AB Testing configuration by ID — response body — AB testing AB testing item variant form item form attributes
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the visual styling configuration of a webform variant, including width, color, font attributes, and alignment. Additional keys: not allowed |
align | string | Optional | Represents the alignment of the webform on the page. Possible values: **right** - Align the form to the right. **left** - Align the form to the left. **top** - Align the form to the top. Known values: right, left, top Maximum length: 255 |
color | string | Optional | Represents the background color of the webform, specified as a hex code or color name. Maximum length: 255 |
display_form_name | boolean | Optional | Indicates whether the form name is displayed on the webform. Possible values: **true** - The form name is displayed. **false** - The form name is not displayed. |
font_attributes | Model | Optional | Expand Get AB Testing configuration by ID — response body — AB testing AB testing item variant form item form attributes font attributes |
width | JSON | Optional | |
width (anyOf 1) | integer | Alternative | Represents the width of the webform in pixels. Possible values: **600** - 600 pixels. **700** - 700 pixels. **800** - 800 pixels. **900** - 900 pixels. Known values: 600, 700, 800, 900 Format: int32 |
width (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
Referenced models: Get AB Testing configuration by ID — response body — AB testing AB testing item variant form item form attributes font attributes
Get AB Testing configuration by ID — response body — AB testing AB testing item variant form item form attributes font attributes
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the font styling configuration for a webform, including size, color, and font family. Additional keys: not allowed |
color | string | Optional | Represents the font color of the form text, specified as a hex code or color name. Maximum length: 255 |
family | string | Optional | Represents the font family used for the form text. Maximum length: 255 |
size | JSON | Optional | |
size (anyOf 1) | integer | Alternative | Represents the font size used for the form text, in points. Format: int32 |
size (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
Get AB Testing configuration by ID — response body — AB testing AB testing item variant form item form fields item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a field entry in a webform, including its type, visibility, and help configuration. Additional keys: not allowed |
date_format | JSON | Optional | |
date_format (anyOf 1) | string | Alternative | Represents the date format used for date fields in the webform. Returns null when no date format is specified. Maximum length: 50 |
date_format (anyOf 2) | null | Alternative | Represents the date format used for date fields in the webform. Returns null when no date format is specified. Maximum length: 50 |
default_value | JSON | Optional | |
default_value (anyOf 1) | string | Alternative | Represents the default value pre-populated in the hidden field on the webform. Maximum length: 32000 |
default_value (anyOf 2) | null | Alternative | Represents the default value pre-populated in the hidden field on the webform. Maximum length: 32000 |
field | Model | Optional | Expand Create AB testing configuration — request body — body AB testing item variant form item form fields item field |
field_info | Model | Optional | Expand Get AB Testing configuration by ID — response body — AB testing AB testing item variant form item form fields item field info |
field_name | JSON | Optional | |
field_name (anyOf 1) | string | Alternative | Represents the display name of the field as shown on the webform. Maximum length: 255 |
field_name (anyOf 2) | null | Alternative | Represents the display name of the field as shown on the webform. Maximum length: 255 |
help | JSON | Optional | |
help (anyOf 1) | object | Alternative | Represents the help configuration for the field, including help text and an optional URL. Returns null when no help is configured. |
help (anyOf 2) | null | Alternative | Represents the help configuration for the field, including help text and an optional URL. Returns null when no help is configured. |
hidden | JSON | Optional | |
hidden (anyOf 1) | boolean | Alternative | Indicates whether the field is hidden on the webform. Possible values: **true** - The field is hidden from visitors. **false** - The field is visible to visitors. |
hidden (anyOf 2) | null | Alternative | Indicates whether the field is hidden on the webform. Possible values: **true** - The field is hidden from visitors. **false** - The field is visible to visitors. |
privacy_value | JSON | Optional | |
privacy_value (anyOf 1) | string | Alternative | Represents the privacy policy content displayed in the privacy policy field on the webform. Maximum length: 2000 |
privacy_value (anyOf 2) | null | Alternative | Represents the privacy policy content displayed in the privacy policy field on the webform. Maximum length: 2000 |
recaptcha_label | JSON | Optional | |
recaptcha_label (anyOf 1) | string | Alternative | Represents the label displayed for the reCAPTCHA field on the webform. Maximum length: 50 |
recaptcha_label (anyOf 2) | null | Alternative | Represents the label displayed for the reCAPTCHA field on the webform. Maximum length: 50 |
required | JSON | Optional | |
required (anyOf 1) | boolean | Alternative | Indicates whether the field is required on the webform. Possible values: **true** - The field must be filled in before the form can be submitted. **false** - The field is optional. |
required (anyOf 2) | null | Alternative | Indicates whether the field is required on the webform. Possible values: **true** - The field must be filled in before the form can be submitted. **false** - The field is optional. |
secret_key | JSON | Optional | |
secret_key (anyOf 1) | string | Alternative | Represents the secret key used for reCAPTCHA verification on the webform. Maximum length: 50 |
secret_key (anyOf 2) | null | Alternative | Represents the secret key used for reCAPTCHA verification on the webform. Maximum length: 50 |
site_key | JSON | Optional | |
site_key (anyOf 1) | string | Alternative | Represents the site key used to render the reCAPTCHA widget on the webform. Maximum length: 50 |
site_key (anyOf 2) | null | Alternative | Represents the site key used to render the reCAPTCHA widget on the webform. Maximum length: 50 |
theme | JSON | Optional | |
theme (anyOf 1) | string | Alternative | Represents the visual theme applied to the reCAPTCHA widget. Possible values: **dark** - The reCAPTCHA uses a dark color scheme. **light** - The reCAPTCHA uses a light color scheme. Known values: dark, light Maximum length: 5 |
theme (anyOf 2) | null | Alternative | Represents the visual theme applied to the reCAPTCHA widget. Possible values: **dark** - The reCAPTCHA uses a dark color scheme. **light** - The reCAPTCHA uses a light color scheme. Known values: dark, light Maximum length: 5 |
type | string | Required within parent | Represents the category of the webform field. Possible values: **general** - A standard CRM field. **advanced** - A specialized or custom field. **portal** - A portal-specific field. Known values: general, advanced, portal Maximum length: 255 |
Referenced models: Create AB testing configuration — request body — body AB testing item variant form item form fields item field, Get AB Testing configuration by ID — response body — AB testing AB testing item variant form item form fields item field info
Get AB Testing configuration by ID — response body — AB testing AB testing item variant form item form fields item field info
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | JSON | Root | |
$ (anyOf 1) | object | Alternative | Represents an advanced or custom field type included in a webform variant. Additional keys: not allowed |
$ (anyOf 1).field_label | string | Optional | Represents the display label of the advanced webform field. Maximum length: 255 |
$ (anyOf 1).type | string | Required within parent | Represents the API name that identifies the type of the advanced webform field. Maximum length: 255 |
$ (anyOf 2) | null | Alternative | Represents an advanced or custom field type included in a webform variant. Additional keys: not allowed |
$ (anyOf 2).field_label | string | Optional | Represents the display label of the advanced webform field. Maximum length: 255 |
$ (anyOf 2).type | string | Required within parent | Represents the API name that identifies the type of the advanced webform field. Maximum length: 255 |
Get AB Testing configuration by ID — response body — AB testing AB testing item winner configuration
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the winner declaration configuration for an AB test, including automatic announcement settings and the conversion percentage difference threshold. Additional keys: not allowed |
announce_automatically | boolean | Optional | Indicates whether the winning form is announced automatically when the conversion percentage difference threshold is met. Possible values: **true** - The winner is announced automatically. **false** - The winner must be announced manually. Known values: True, False |
conversion_percentage_difference | JSON | Optional | |
conversion_percentage_difference (anyOf 1) | integer | Alternative | Represents the minimum conversion rate percentage difference required to automatically declare a winner. Required when **announce_automatically** is **true**. Format: int32 |
conversion_percentage_difference (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
Get AB Testing form preview — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Successful response returned when retrieving the HTML preview of an AB test's forms. Additional keys: not allowed |
AB_testing | array | Optional | Represents the list of AB test preview data, including HTML code for each form. Maximum items: 1 |
AB_testing[] | Model | Each item | Expand Get AB Testing form preview — response body — AB testing item |
Referenced models: Get AB Testing form preview — response body — AB testing item
Get AB Testing form preview — response body — AB testing item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the preview data for an AB test, including embed, iframe, and source code for the base form and all variant forms. Additional keys: not allowed |
base_form | Model | Optional | Expand Get AB Testing form preview — response body — AB testing item base form Field: base_form |
id | string | Optional | Represents the unique identifier of the AB test included in the preview response. Maximum length: 19 |
variant_form | array | Optional | Represents the list of variant webform previews included in the AB test, each with embed, iframe, and source code formats. Maximum items: 2 |
variant_form[] | Model | Each item | Expand Get AB Testing form preview — response body — AB testing item base form |
Referenced models: Get AB Testing form preview — response body — AB testing item base form
Get AB Testing form preview — response body — AB testing item base form
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the HTML preview data for a webform, including embed, iframe, and source code formats. Additional keys: not allowed |
active | boolean | Optional | Indicates whether the webform is currently active. Possible values: **true** - The webform is active. **false** - The webform is inactive. |
code_formats | array | Optional | Represents the list of embed code formats available for this webform. Maximum items: 3 |
code_formats[] | string | Each item | Represents an available embed code format for the webform. Possible values: **source** - The raw HTML source code. **embed** - The embeddable script tag. **iframe** - The iframe embed code. Maximum length: 255 |
embed_code | string | Optional | Represents the embeddable script code for the webform. Maximum length: 2000 |
id | string | Optional | Represents the unique identifier of the webform. Maximum length: 19 |
iframe_code | string | Optional | Represents the iframe embed code for displaying the webform. Maximum length: 2000 |
module | Model | Optional | Expand Create AB testing configuration — request body — body AB testing item module |
name | string | Optional | Represents the name of the webform. Maximum length: 100 |
source_code | string | Optional | Represents the full HTML source code of the webform. Maximum length: 50000 |
Referenced models: Create AB testing configuration — request body — body AB testing item module
Get AB testing optimization suggestions — response body — AB testing suggestions
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Successful response returned when retrieving AI-generated optimization suggestions for an AB test. Additional keys: not allowed |
AB_testing_suggestions | array | Required within parent | Represents the list of AI-generated optimization suggestions for the AB test. Maximum items: 1 |
AB_testing_suggestions[] | Model | Each item | Expand Get AB testing optimization suggestions — response body — AB testing suggestions AB testing suggestions item |
Referenced models: Get AB testing optimization suggestions — response body — AB testing suggestions AB testing suggestions item
Get AB testing optimization suggestions — response body — AB testing suggestions AB testing suggestions item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents an AI-generated optimization suggestion for an AB test, including the suggestion type and details. Additional keys: not allowed |
suggestion_details | Model | Required within parent | Expand Get AB testing optimization suggestions — response body — AB testing suggestions AB testing suggestions item suggestion details |
type | string | Required within parent | Represents the type of AI-generated suggestion for the AB test. Possible values: **split_suggestion** - A recommendation to adjust traffic allocation between forms. **extend_test** - A recommendation to continue the test for a longer period. Maximum length: 255 |
Referenced models: Get AB testing optimization suggestions — response body — AB testing suggestions AB testing suggestions item suggestion details
Get AB testing optimization suggestions — response body — AB testing suggestions AB testing suggestions item suggestion details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the detailed performance data for an AB test suggestion, including metrics for the base form and all variant forms. Additional keys: not allowed |
base_form | Model | Required within parent | Expand Get AB testing optimization suggestions — response body — AB testing suggestions AB testing suggestions item suggestion details base form |
variant_form | array | Required within parent | Represents the list of variant webforms included in the AB test suggestion details, each with their performance metrics. Maximum items: 2 |
variant_form[] | Model | Each item | Expand Get AB testing optimization suggestions — response body — AB testing suggestions AB testing suggestions item suggestion details variant form item |
Referenced models: Get AB testing optimization suggestions — response body — AB testing suggestions AB testing suggestions item suggestion details base form, Get AB testing optimization suggestions — response body — AB testing suggestions AB testing suggestions item suggestion details variant form item
Get AB testing optimization suggestions — response body — AB testing suggestions AB testing suggestions item suggestion details base form
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the base webform performance data in an AB test suggestion, including submission counts, visits, and traffic allocation. Additional keys: not allowed |
id | string | Required within parent | Represents the unique identifier of the base webform in the suggestion details. Maximum length: 255 |
no_of_submission | JSON | Required within parent | |
no_of_submission (anyOf 1) | integer | Alternative | Represents the total number of form submissions received by the base webform during the AB test. Format: int32 |
no_of_submission (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
no_of_visits | JSON | Required within parent | |
no_of_visits (anyOf 1) | integer | Alternative | Represents the total number of visitor sessions on the base webform during the AB test. Format: int32 |
no_of_visits (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
traffic | JSON | Required within parent | |
traffic (anyOf 1) | integer | Alternative | Represents the percentage of visitor traffic currently allocated to the base webform. Format: int32 |
traffic (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
underperforming_variant | boolean | Required within parent | Indicates whether the base form is identified as the underperforming variant in the AB test. Possible values: **true** - The base form is underperforming. **false** - The base form is not underperforming. |
Get AB testing optimization suggestions — response body — AB testing suggestions AB testing suggestions item suggestion details variant form item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the variant webform performance data in an AB test suggestion, including submission counts, visits, traffic, and conversion rate. Additional keys: not allowed |
conversion_rate | JSON | Required within parent | |
conversion_rate (anyOf 1) | integer | Alternative | Represents the conversion rate of the variant webform during the AB test, as a percentage. Format: int32 |
conversion_rate (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
id | string | Required within parent | Represents the unique identifier of the variant webform in the suggestion details. Maximum length: 255 |
name | string | Required within parent | Represents the name of the variant webform. Maximum length: 255 |
no_of_submission | JSON | Required within parent | |
no_of_submission (anyOf 1) | integer | Alternative | Represents the total number of form submissions received by the variant webform during the AB test. Format: int32 |
no_of_submission (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
no_of_visits | JSON | Required within parent | |
no_of_visits (anyOf 1) | integer | Alternative | Represents the total number of visitor sessions on the variant webform during the AB test. Format: int32 |
no_of_visits (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
traffic | JSON | Required within parent | |
traffic (anyOf 1) | integer | Alternative | Represents the percentage of visitor traffic currently allocated to the variant webform. Format: int32 |
traffic (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
underperforming_variant | boolean | Required within parent | Indicates whether the variant form is identified as underperforming in the AB test. Possible values: **true** - The variant form is underperforming. **false** - The variant form is not underperforming. |
Get visitor metrics for a specific Webform A B Testing — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Successful response returned when retrieving visitor statistics for a specific AB test. Additional keys: not allowed |
AB_testing | array | Optional | Represents the visitor statistics for the specified AB test. Maximum items: 1 |
AB_testing[] | Model | Each item | Expand Get visitor metrics for a specific Webform A B Testing — response body — AB testing item |
Referenced models: Get visitor metrics for a specific Webform A B Testing — response body — AB testing item
Get visitor metrics for a specific Webform A B Testing — response body — AB testing item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents visitor statistics for an AB test, including visitor count, start time, and elapsed days. Additional keys: not allowed |
days | JSON | Optional | |
days (anyOf 1) | integer | Alternative | Represents the number of days the AB test has been running. Format: int32 |
days (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
id | string | Optional | Represents the unique identifier of the AB test. Maximum length: 19 |
started_time | string | Optional | Represents the date and time when the AB test started. Maximum length: 100 |
visitors | JSON | Optional | |
visitors (anyOf 1) | integer | Alternative | Represents the total number of visitors who have been exposed to the AB test. Format: int32 |
visitors (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
List Webform A B Testing configurations — response body — AB testing
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Successful response returned when retrieving all AB test configurations. Additional keys: not allowed |
AB_testing | array | Optional | Represents the list of AB test configurations returned by the request. Maximum items: 1000 |
AB_testing[] | Model | Each item | Expand List Webform A B Testing configurations — response body — AB testing AB testing item |
Referenced models: List Webform A B Testing configurations — response body — AB testing AB testing item
List Webform A B Testing configurations — response body — AB testing AB testing item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents an AB test configuration object in a list response. Additional keys: not allowed |
base_form | Model | Required within parent | Expand Get AB Testing configuration by ID — response body — AB testing AB testing item base form |
complete_restart_info | null | Optional | Represents information about a complete restart of the AB test, if applicable. Returns null when no restart has occurred. |
condition | Model | Required within parent | Expand Get AB Testing configuration by ID — response body — AB testing AB testing item condition |
created_by | Model | Required within parent | Expand Update AB testing configuration by ID — request body — body AB testing item created by |
created_time | string | Optional | Represents the creation date and time of the AB test configuration. Maximum length: 255 |
dynamic_allocation_by_zia | boolean | Optional | Indicates whether the traffic allocation between the base form and variant forms is managed dynamically by Zia, the AI assistant. Possible values: **true** - Zia dynamically adjusts traffic allocation based on performance. **false** - Traffic is allocated according to the manually configured split. |
id | string | Required within parent | Represents the unique identifier of the AB test configuration. Maximum length: 19 |
module | Model | Required within parent | Expand Create AB testing configuration — request body — body AB testing item module |
name | string | Required within parent | Represents the name of the AB test configuration. Maximum length: 255 |
notify | boolean | Optional | Indicates whether notifications are enabled for this AB test. Possible values: **true** - Notifications are sent when the test reaches a significant milestone. **false** - No notifications are sent. |
start_time | string | Optional | Represents the scheduled start time of the AB test. Maximum length: 255 |
started_time | string | Optional | Represents the actual date and time when the AB test started running. Maximum length: 255 |
status | string | Required within parent | Represents the current lifecycle status of the AB test. Possible values: **drafted** - The test exists but has not started. **running** - The test actively distributes traffic. **scheduled** - The test starts at a future date. **paused** - The test has stopped temporarily. **completed** - The test has finished and results are available. **launched** - The winning form has launched. Known values: drafted, running, scheduled, paused, completed, launched Maximum length: 255 |
suggestion | null | Optional | Represents the AI-generated suggestion for the AB test, if available. Returns null when no suggestion is available. |
traffic | JSON | Required within parent | |
traffic (anyOf 1) | integer | Alternative | Represents the total percentage of visitor traffic allocated to this AB test. Format: int32 |
traffic (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
traffic_diversion | null | Optional | Represents the traffic diversion configuration for the AB test, if applicable. Returns null when no traffic diversion is configured. |
variant_form | array | Required within parent | Represents the list of variant webforms included in the AB test, each with its own traffic allocation and performance data. Maximum items: 2 |
variant_form[] | Model | Each item | Expand List Webform A B Testing configurations — response body — AB testing AB testing item variant form item |
winner_configuration | Model | Optional | Expand Get AB Testing configuration by ID — response body — AB testing AB testing item winner configuration |
Referenced models: Update AB testing configuration by ID — request body — body AB testing item created by, Create AB testing configuration — request body — body AB testing item module, Get AB Testing configuration by ID — response body — AB testing AB testing item base form, Get AB Testing configuration by ID — response body — AB testing AB testing item condition, List Webform A B Testing configurations — response body — AB testing AB testing item variant form item, Get AB Testing configuration by ID — response body — AB testing AB testing item winner configuration
List Webform A B Testing configurations — response body — AB testing AB testing item variant form item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a variant webform in an AB test list response, including its traffic allocation and winner status. Additional keys: not allowed |
id | string | Required within parent | Represents the unique identifier of the variant webform. Maximum length: 19 |
name | string | Required within parent | Represents the name of the variant webform. Maximum length: 255 |
old_traffic | null | Optional | Represents the previous traffic allocation percentage for the variant webform before the most recent update. Returns null when no previous allocation exists. |
traffic | JSON | Required within parent | |
traffic (anyOf 1) | integer | Alternative | Represents the percentage of visitor traffic allocated to the variant webform. Format: int32 |
traffic (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
winner | boolean | Required within parent | Indicates whether the variant webform has been declared the winner of the AB test. Possible values: **true** - The variant webform is the declared winner. **false** - The variant webform has not been declared the winner. |
Retrieve launch suggestions for an AB Testing configuration — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Successful response returned when checking for Zia launch suggestions for an AB test. Additional keys: not allowed |
AB_testing_launch_suggestions | array | Required within parent | Represents the list of Zia launch suggestions for the specified AB test. Maximum items: 1 |
AB_testing_launch_suggestions[] | Model | Each item | Expand Retrieve launch suggestions for an AB Testing configuration — response body — AB testing launch suggestions item |
Referenced models: Retrieve launch suggestions for an AB Testing configuration — response body — AB testing launch suggestions item
Retrieve launch suggestions for an AB Testing configuration — response body — AB testing launch suggestions item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents Zia's launch suggestion data for an AB test, comparing conversion rates inside and outside the test. Additional keys: not allowed |
conversion_rate_in_abtest | JSON | Required within parent | |
conversion_rate_in_abtest (anyOf 1) | integer | Alternative | Represents the conversion rate of the webform during the AB test period, as a percentage. Format: int32 |
conversion_rate_in_abtest (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
conversion_rate_outside_abtest | JSON | Required within parent | |
conversion_rate_outside_abtest (anyOf 1) | integer | Alternative | Represents the conversion rate of the webform outside the AB test period, as a percentage. Format: int32 |
conversion_rate_outside_abtest (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
has_launch_suggestion | boolean | Required within parent | Indicates whether Zia has a launch suggestion for the AB test based on conversion rate comparison. Possible values: **true** - A launch suggestion is available. **false** - No launch suggestion is available. |
Update AB testing configuration by ID — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Request body schema for updating an existing AB test configuration. Additional keys: not allowed |
AB_testing | array | Required within parent | Represents the array of AB test configurations to update. The request body must contain a **AB_testing** array with one object. Maximum items: 1 |
AB_testing[] | Model | Each item | Expand Update AB testing configuration by ID — request body — body AB testing item |
Referenced models: Update AB testing configuration by ID — request body — body AB testing item
Update AB testing configuration by ID — request body — body AB testing item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents an AB test configuration object with full details, including base form, variant forms, condition, and winner configuration. Additional keys: not allowed |
base_form | Model | Required within parent | Expand Update AB testing configuration by ID — request body — body AB testing item base form |
code | string | Optional | Represents the response code returned for the AB test operation. Maximum length: 255 |
complete_restart_info | null | Optional | Represents information about a complete restart of the AB test, if applicable. Returns null when no restart has occurred. |
condition | Model | Required within parent | Expand Create AB testing configuration — request body — body AB testing item condition |
created_by | Model | Optional | Expand Update AB testing configuration by ID — request body — body AB testing item created by |
created_time | string | Optional | Represents the creation date and time of the AB test configuration. Maximum length: 255 |
days | integer | Optional | Represents the number of days the AB test has been running. Format: int32 |
dynamic_allocation_by_zia | boolean | Optional | Indicates whether the traffic allocation between the base form and variant forms is managed dynamically by Zia, the AI assistant. Possible values: **true** - Zia dynamically adjusts traffic allocation based on performance. **false** - Traffic is allocated according to the manually configured split. |
id | string | Optional | Represents the unique identifier of the AB test configuration. Maximum length: 19 |
module | Model | Required within parent | Expand Create AB testing configuration — request body — body AB testing item module |
name | string | Required within parent | Represents the name of the AB test configuration. Maximum length: 255 |
notify | boolean | Optional | Indicates whether notifications are enabled for this AB test. Possible values: **true** - Notifications are sent when the test reaches a significant milestone. **false** - No notifications are sent. |
pause_resume_info | null | Optional | Represents information about a pause or resume action on the AB test, if applicable. Returns null when no pause or resume action has occurred. |
start_time | string | Optional | Represents the scheduled start time of the AB test. Maximum length: 255 |
started_time | string | Optional | Represents the actual date and time when the AB test started running. Maximum length: 255 |
status | string | Required within parent | Represents the current lifecycle status of the AB test. Possible values: **drafted** - The test exists but has not started. **running** - The test actively distributes traffic. **scheduled** - The test starts at a future date. **paused** - The test has stopped temporarily. **completed** - The test has finished and results are available. **launched** - The winning form has launched. One of: drafted, running, scheduled, completed, launched, paused Maximum length: 255 |
suggestion | null | Optional | Represents the AI-generated suggestion for the AB test, if available. Returns null when no suggestion is available. |
traffic | integer | Optional | Represents the total percentage of visitor traffic allocated to this AB test. Format: int32 |
traffic_diversion | null | Optional | Represents the traffic diversion configuration for the AB test, if applicable. Returns null when no traffic diversion is configured. |
variant_form | array | Required within parent | Represents the list of variant webforms included in the AB test, each with its own traffic allocation and performance data. Maximum items: 2 |
variant_form[] | Model | Each item | Expand Update AB testing configuration by ID — request body — body AB testing item variant form item |
visitors | integer | Optional | Represents the total number of visitors who have been exposed to the AB test. Format: int32 |
winner_configuration | Model | Optional | Expand Create AB testing configuration — request body — body AB testing item winner configuration |
Referenced models: Update AB testing configuration by ID — request body — body AB testing item created by, Create AB testing configuration — request body — body AB testing item module, Update AB testing configuration by ID — request body — body AB testing item base form, Create AB testing configuration — request body — body AB testing item condition, Update AB testing configuration by ID — request body — body AB testing item variant form item, Create AB testing configuration — request body — body AB testing item winner configuration
Update AB testing configuration by ID — request body — body AB testing item base form
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the base webform in an AB test, including its traffic allocation, performance metrics, and embed code formats. Additional keys: not allowed |
active | boolean | Optional | Indicates whether the base webform is currently active. Possible values: **true** - The webform is active and accepting submissions. **false** - The webform is inactive. |
code_formats | array | Optional | Represents the list of embed code formats available for this webform. Maximum items: 3 |
code_formats[] | string | Each item | Represents an available embed code format for the webform. Possible values: **source** - The raw HTML source code. **embed** - The embeddable script tag. **iframe** - The iframe embed code. Maximum length: 255 |
embed_code | string | Optional | Represents the embeddable script code for the webform. Maximum length: 255 |
id | string | Required within parent | Represents the unique identifier of the base webform. Maximum length: 255 |
iframe_code | string | Optional | Represents the iframe embed code for displaying the webform. Maximum length: 255 |
leading | boolean | Optional | Indicates whether the base form is currently leading in the AB test based on performance metrics. Possible values: **true** - The base form is leading. **false** - The base form is not leading. |
module | Model | Optional | Expand Create AB testing configuration — request body — body AB testing item module |
name | string | Optional | Represents the name of the base webform. Maximum length: 255 |
no_of_submission | integer | Optional | Represents the total number of form submissions received by the base webform during the AB test. Format: int32 |
no_of_visits | integer | Optional | Represents the total number of visitor sessions on the base webform during the AB test. Format: int32 |
old_traffic | null | Optional | Represents the previous traffic allocation percentage for the base webform before the most recent update. Returns null when no previous allocation exists. |
source_code | string | Optional | Represents the full HTML source code of the base webform. Maximum length: 255 |
traffic | integer | Required within parent | Represents the percentage of visitor traffic allocated to the base webform. Format: int32 |
winner | boolean | Optional | Indicates whether the base webform has been declared the winner of the AB test. Possible values: **true** - The base webform is the declared winner. **false** - The base webform has not been declared the winner. |
winner_confidence | null | Optional | Represents the statistical confidence level for declaring the base webform as the winner. Returns null when the confidence has not been calculated. |
Referenced models: Create AB testing configuration — request body — body AB testing item module
Update AB testing configuration by ID — request body — body AB testing item created by
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the CRM user who created the AB test configuration. Additional keys: not allowed |
id | string | Optional | Represents the unique identifier of the user who created the AB test. Maximum length: 19 |
name | string | Optional | Represents the full name of the user who created the AB test. Maximum length: 255 |
Update AB testing configuration by ID — request body — body AB testing item variant form item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a variant webform in an AB test response, including its traffic allocation, performance metrics, embed code formats, and form fields. Additional keys: not allowed |
active | boolean | Optional | Indicates whether the variant webform is currently active. Possible values: **true** - The webform is active and accepting submissions. **false** - The webform is inactive. |
button_attributes | array | Required within parent | Represents the list of button configurations for the variant webform, including submit and reset buttons. Maximum items: 2 |
button_attributes[] | Model | Each item | Expand Create AB testing configuration — request body — body AB testing item variant form item button attributes item |
code_formats | array | Optional | Represents the list of embed code formats available for this variant webform. Maximum items: 3 |
code_formats[] | string | Each item | Represents an available embed code format for the variant webform. Possible values: **source** - The raw HTML source code. **embed** - The embeddable script tag. **iframe** - The iframe embed code. Maximum length: 255 |
embed_code | string | Optional | Represents the embeddable script code for the variant webform. Maximum length: 255 |
encrypted_form_id | string | Optional | Represents the encrypted identifier of the variant webform, used for analytics and tracking. Maximum length: 255 |
form_attributes | Model | Optional | Expand Create AB testing configuration — request body — body AB testing item variant form item form attributes |
form_fields | array | Required within parent | Represents the list of form fields included in the variant webform. Maximum items: 5 |
form_fields[] | Model | Each item | Expand Create AB testing configuration — request body — body AB testing item variant form item form fields item |
id | string | Optional | Represents the unique identifier of the variant webform. Maximum length: 19 |
iframe_code | string | Optional | Represents the iframe embed code for displaying the variant webform. Maximum length: 255 |
leading | boolean | Optional | Indicates whether the variant form is currently leading in the AB test based on performance metrics. Possible values: **true** - The variant form is leading. **false** - The variant form is not leading. |
module | Model | Optional | Expand Create AB testing configuration — request body — body AB testing item module |
name | string | Optional | Represents the name of the variant webform. Maximum length: 255 |
no_of_submission | integer | Optional | Represents the total number of form submissions received by the variant webform during the AB test. Format: int32 |
no_of_visits | integer | Optional | Represents the total number of visitor sessions on the variant webform during the AB test. Format: int32 |
old_traffic | null | Optional | Represents the previous traffic allocation percentage for the variant webform before the most recent update. Returns null when no previous allocation exists. |
source_code | string | Optional | Represents the full HTML source code of the variant webform. Maximum length: 255 |
tracking_code | string | Optional | Represents the analytics tracking script injected into the variant webform for visitor tracking. Maximum length: 2000 |
traffic | integer | Required within parent | Represents the percentage of visitor traffic allocated to the variant webform. Format: int32 |
winner | boolean | Optional | Indicates whether the variant webform has been declared the winner of the AB test. Possible values: **true** - The variant webform is the declared winner. **false** - The variant webform has not been declared the winner. |
winner_confidence | null | Optional | Represents the statistical confidence level for declaring the variant webform as the winner. Returns null when the confidence has not been calculated. |
Referenced models: Create AB testing configuration — request body — body AB testing item variant form item button attributes item, Create AB testing configuration — request body — body AB testing item variant form item form attributes, Create AB testing configuration — request body — body AB testing item variant form item form fields item, Create AB testing configuration — request body — body AB testing item module
Update AB testing configuration by ID — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Successful response returned after updating an AB test configuration. Additional keys: not allowed |
AB_testing | array | Optional | Represents the list of results for the AB test update operation. Maximum items: 1 |
AB_testing[] | Model | Each item | Expand Create AB testing configuration — response body — AB testing item |
Referenced models: Create AB testing configuration — response body — AB testing item