Skip to content

Zoho: Ab testing schemas

49 Zoho schemas with complete fields and constraints.

← Ab testing operations · All schemas

Create AB testing configuration — request body — body

FieldTypePresenceDescription and constraints
$objectRootRequest body schema for creating a new AB test configuration.
Additional keys: not allowed
AB_testingarrayRequired within parentRepresents 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[]ModelEach itemExpand 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

FieldTypePresenceDescription and constraints
$objectRootRepresents the AB test configuration object in a create request, including base form, variant forms, condition, and winner settings.
Additional keys: not allowed
base_formModelRequired within parentExpand Create AB testing configuration — request body — body AB testing item base form
conditionModelRequired within parentExpand Create AB testing configuration — request body — body AB testing item condition
dynamic_allocation_by_ziabooleanOptionalSpecify 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.
moduleModelRequired within parentExpand Create AB testing configuration — request body — body AB testing item module
namestringRequired within parentSpecify the name of the AB test configuration.
Maximum length: 255
notifybooleanOptionalSpecify 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.
statusstringRequired within parentSpecify 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
trafficintegerOptionalSpecify the total percentage of visitor traffic to allocate to this AB test.
Format: int32
traffic_diversionnullOptionalSpecify the traffic diversion configuration for the AB test, if applicable. Set to null when no traffic diversion is required.
variant_formarrayRequired within parentSpecify 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[]ModelEach itemExpand Create AB testing configuration — request body — body AB testing item variant form item
winner_configurationModelOptionalExpand 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

FieldTypePresenceDescription and constraints
$objectRootRepresents the base webform configuration to include when creating an AB test, including the form ID and traffic allocation.
Additional keys: not allowed
idstringOptionalSpecify the unique identifier of the base webform to include in the AB test.
Maximum length: 255
trafficintegerOptionalSpecify the percentage of visitor traffic to allocate to the base webform.
Format: int32

Create AB testing configuration — request body — body AB testing item condition

FieldTypePresenceDescription and constraints
$objectRootRepresents the condition that determines when an AB test ends, including the condition type, period, unit, and remaining time.
Additional keys: not allowed
fromstringOptionalRepresents the start date and time of the AB test when the condition type is **range**.
Format: date-time
Maximum length: 25
periodstringOptionalRepresents 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
remainingintegerOptionalRepresents the number of days or visits remaining before the AB test condition is met.
Format: int32
tostringOptionalRepresents the end date and time of the AB test when the condition type is **range**.
Format: date-time
Maximum length: 25
typestringRequired within parentRepresents 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
unitintegerOptionalRepresents the numeric value of the test condition, such as the number of days, weeks, months, or visitor sessions.
Format: int32
visitorsintegerOptionalRepresents 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

FieldTypePresenceDescription and constraints
$objectRootRepresents the CRM module associated with an AB test, identified by its API name and ID.
Additional keys: not allowed
api_namestringOptionalRepresents the API name of the CRM module associated with the AB test.
Maximum length: 50
idstringOptionalRepresents 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

FieldTypePresenceDescription and constraints
$objectRootRepresents the variant webform configuration to include when creating or updating an AB test.
Additional keys: not allowed
button_attributesarrayOptionalSpecify the list of button configurations for the variant webform, including submit and reset buttons.
Maximum items: 2
button_attributes[]ModelEach itemExpand Create AB testing configuration — request body — body AB testing item variant form item button attributes item
form_attributesModelOptionalExpand Create AB testing configuration — request body — body AB testing item variant form item form attributes
form_fieldsarrayOptionalSpecify the list of form fields to include in the variant webform.
Maximum items: 5
form_fields[]ModelEach itemExpand Create AB testing configuration — request body — body AB testing item variant form item form fields item
trafficintegerOptionalSpecify 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

FieldTypePresenceDescription and constraints
$objectRootRepresents the visual configuration of a button on a webform variant, including its color and label.
Additional keys: not allowed
colorstringOptionalRepresents the color of the button, specified as a hex code or color name.
Maximum length: 255
namestringRequired within parentRepresents 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

FieldTypePresenceDescription and constraints
$objectRootRepresents the visual styling configuration of a webform variant, including width, color, font attributes, and alignment.
Additional keys: not allowed
alignstringOptionalRepresents 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
colorstringOptionalRepresents the background color of the webform, specified as a hex code or color name.
Maximum length: 255
display_form_namebooleanOptionalIndicates 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_attributesModelOptionalExpand Create AB testing configuration — request body — body AB testing item variant form item form attributes font attributes
widthintegerOptionalRepresents 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

FieldTypePresenceDescription and constraints
$objectRootRepresents the font styling configuration for a webform, including size, color, and font family.
Additional keys: not allowed
colorstringOptionalRepresents the font color of the form text, specified as a hex code or color name.
Maximum length: 255
familystringOptionalRepresents the font family used for the form text.
Maximum length: 255
sizeintegerOptionalRepresents 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

FieldTypePresenceDescription and constraints
$objectRootRepresents a field entry in a webform, including its type, visibility, and help configuration.
Additional keys: not allowed
date_formatstring or nullOptionalRepresents the date format used for date fields in the webform. Returns null when no date format is specified.
Maximum length: 50
default_valuestring or nullOptionalRepresents the default value pre-populated in the hidden field on the webform.
Maximum length: 32000
fieldModelOptionalExpand Create AB testing configuration — request body — body AB testing item variant form item form fields item field
field_infoModelOptionalExpand Create AB testing configuration — request body — body AB testing item variant form item form fields item field info
field_namestring or nullOptionalRepresents the display name of the field as shown on the webform.
Maximum length: 255
helpobject or nullOptionalRepresents the help configuration for the field, including help text and an optional URL. Returns null when no help is configured.
hiddenboolean or nullOptionalIndicates 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_valuestring or nullOptionalRepresents the privacy policy content displayed in the privacy policy field on the webform.
Maximum length: 2000
recaptcha_labelstring or nullOptionalRepresents the label displayed for the reCAPTCHA field on the webform.
Maximum length: 50
requiredboolean or nullOptionalIndicates 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_keystring or nullOptionalRepresents the secret key used for reCAPTCHA verification on the webform.
Maximum length: 50
site_keystring or nullOptionalRepresents the site key used to render the reCAPTCHA widget on the webform.
Maximum length: 50
themestring or nullOptionalRepresents 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
typestringRequired within parentRepresents 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

FieldTypePresenceDescription and constraints
$objectRootRepresents a CRM field included in a webform, identified by its API name, field label, and ID.
Additional keys: not allowed
api_namestringRequired within parentRepresents the API name of the CRM field included in the webform.
Maximum length: 255
field_labelstringOptionalRepresents the display label of the CRM field as shown on the webform.
Maximum length: 255
idstringRequired within parentRepresents 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

FieldTypePresenceDescription and constraints
$object or nullRootRepresents an advanced or custom field type included in a webform variant.
Additional keys: not allowed
field_labelstringOptionalRepresents the display label of the advanced webform field.
Maximum length: 255
typestringRequired within parentRepresents 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

FieldTypePresenceDescription and constraints
$objectRootRepresents the winner declaration configuration for an AB test, including automatic announcement settings and the conversion percentage difference threshold.
Additional keys: not allowed
announce_automaticallybooleanOptionalIndicates 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_differenceintegerOptionalRepresents 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

FieldTypePresenceDescription and constraints
$objectRootSuccessful response returned after creating a new AB test configuration.
Additional keys: not allowed
AB_testingarrayOptionalRepresents the list of results for the AB test creation operation.
Maximum items: 1
AB_testing[]ModelEach itemExpand 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

FieldTypePresenceDescription and constraints
$objectRootRepresents the result object for a successful AB test create, update, or delete operation.
Additional keys: not allowed
codestringOptionalRepresents the status code of the AB test operation result.
Possible values:
**SUCCESS** - The operation completed successfully.
Maximum length: 255
detailsModelOptionalExpand Create AB testing configuration — response body — AB testing item details
messagestringOptionalRepresents the message describing the result of the AB test operation.
Maximum length: 255
statusstringOptionalRepresents 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

FieldTypePresenceDescription and constraints
$objectRootRepresents the details returned in a successful AB test operation response, including the ID of the affected record.
Additional keys: not allowed
idstringOptionalRepresents 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

FieldTypePresenceDescription and constraints
$objectRootSuccessful response returned after deleting an AB test configuration.
Additional keys: not allowed
AB_testingarrayOptionalRepresents the list of results for the AB test delete operation.
Maximum items: 1
AB_testing[]ModelEach itemExpand 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

FieldTypePresenceDescription and constraints
$objectRootSuccessful response returned when retrieving aggregated visitor statistics for all AB tests in a module.
Additional keys: not allowed
AB_testingarrayOptionalRepresents the list of visitor statistics for each AB test in the specified module.
Maximum items: 1
AB_testing[]ModelEach itemExpand 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

FieldTypePresenceDescription and constraints
$objectRootSuccessful response returned when retrieving the details of a specific AB test configuration by ID.
Additional keys: not allowed
AB_testingarrayOptionalRepresents the list of AB test configurations returned for the specified AB test ID.
Maximum items: 1
AB_testing[]ModelEach itemExpand 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

FieldTypePresenceDescription and constraints
$objectRootRepresents an AB test configuration object with full details, including base form, variant forms, condition, and winner configuration.
Additional keys: not allowed
base_formModelRequired within parentExpand Get AB Testing configuration by ID — response body — AB testing AB testing item base form
codestringOptionalRepresents the response code returned for the AB test operation.
Maximum length: 255
complete_restart_infonullOptionalRepresents information about a complete restart of the AB test, if applicable. Returns null when no restart has occurred.
conditionModelRequired within parentExpand Get AB Testing configuration by ID — response body — AB testing AB testing item condition
created_byModelOptionalExpand Update AB testing configuration by ID — request body — body AB testing item created by
created_timestringOptionalRepresents the creation date and time of the AB test configuration.
Maximum length: 255
daysJSONOptional
days (anyOf 1)integerAlternativeRepresents the number of days the AB test has been running.
Format: int32
days (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
dynamic_allocation_by_ziabooleanOptionalIndicates 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.
idstringOptionalRepresents the unique identifier of the AB test configuration.
Maximum length: 19
moduleModelRequired within parentExpand Create AB testing configuration — request body — body AB testing item module
namestringRequired within parentRepresents the name of the AB test configuration.
Maximum length: 255
notifybooleanOptionalIndicates 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_infonullOptionalRepresents information about a pause or resume action on the AB test, if applicable. Returns null when no pause or resume action has occurred.
start_timestringOptionalRepresents the scheduled start time of the AB test.
Maximum length: 255
started_timestringOptionalRepresents the actual date and time when the AB test started running.
Maximum length: 255
statusstringRequired within parentRepresents 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
suggestionnullOptionalRepresents the AI-generated suggestion for the AB test, if available. Returns null when no suggestion is available.
trafficJSONOptional
traffic (anyOf 1)integerAlternativeRepresents the total percentage of visitor traffic allocated to this AB test.
Format: int32
traffic (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
traffic_diversionnullOptionalRepresents the traffic diversion configuration for the AB test, if applicable. Returns null when no traffic diversion is configured.
variant_formarrayRequired within parentRepresents the list of variant webforms included in the AB test, each with its own traffic allocation and performance data.
Maximum items: 2
variant_form[]ModelEach itemExpand Get AB Testing configuration by ID — response body — AB testing AB testing item variant form item
visitorsJSONOptional
visitors (anyOf 1)integerAlternativeRepresents the total number of visitors who have been exposed to the AB test.
Format: int32
visitors (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
winner_configurationModelOptionalExpand 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

FieldTypePresenceDescription and constraints
$objectRootRepresents the base webform in an AB test, including its traffic allocation, performance metrics, and embed code formats.
Additional keys: not allowed
activebooleanOptionalIndicates whether the base webform is currently active.
Possible values:
**true** - The webform is active and accepting submissions.
**false** - The webform is inactive.
code_formatsarrayOptionalRepresents the list of embed code formats available for this webform.
Maximum items: 3
code_formats[]stringEach itemRepresents 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_codestringOptionalRepresents the embeddable script code for the webform.
Maximum length: 255
idstringRequired within parentRepresents the unique identifier of the base webform.
Maximum length: 255
iframe_codestringOptionalRepresents the iframe embed code for displaying the webform.
Maximum length: 255
leadingbooleanOptionalIndicates 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.
moduleModelOptionalExpand Create AB testing configuration — request body — body AB testing item module
namestringOptionalRepresents the name of the base webform.
Maximum length: 255
no_of_submissionJSONOptional
no_of_submission (anyOf 1)integerAlternativeRepresents the total number of form submissions received by the base webform during the AB test.
Format: int32
no_of_submission (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
no_of_visitsJSONOptional
no_of_visits (anyOf 1)integerAlternativeRepresents the total number of visitor sessions on the base webform during the AB test.
Format: int32
no_of_visits (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
old_trafficnullOptionalRepresents the previous traffic allocation percentage for the base webform before the most recent update. Returns null when no previous allocation exists.
source_codestringOptionalRepresents the full HTML source code of the base webform.
Maximum length: 255
trafficJSONRequired within parent
traffic (anyOf 1)integerAlternativeRepresents the percentage of visitor traffic allocated to the base webform.
Format: int32
traffic (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
winnerbooleanOptionalIndicates 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_confidencenullOptionalRepresents 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

FieldTypePresenceDescription and constraints
$objectRootRepresents the condition that determines when an AB test ends, including the condition type, period, unit, and remaining time.
Additional keys: not allowed
fromstringOptionalRepresents the start date and time of the AB test when the condition type is **range**.
Format: date-time
Maximum length: 25
periodstringOptionalRepresents 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
remainingJSONOptional
remaining (anyOf 1)integerAlternativeRepresents the number of days or visits remaining before the AB test condition is met.
Format: int32
remaining (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
tostringOptionalRepresents the end date and time of the AB test when the condition type is **range**.
Format: date-time
Maximum length: 25
typestringRequired within parentRepresents 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
unitJSONOptional
unit (anyOf 1)integerAlternativeRepresents the numeric value of the test condition, such as the number of days, weeks, months, or visitor sessions.
Format: int32
unit (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
visitorsJSONOptional
visitors (anyOf 1)integerAlternativeRepresents the target number of visitor sessions required to complete the AB test when the condition type is **visits**.
Format: int32
visitors (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Get AB Testing configuration by ID — response body — AB testing AB testing item variant form item

FieldTypePresenceDescription and constraints
$objectRootRepresents a variant webform in an AB test response, including its traffic allocation, performance metrics, embed code formats, and form fields.
Additional keys: not allowed
activebooleanOptionalIndicates whether the variant webform is currently active.
Possible values:
**true** - The webform is active and accepting submissions.
**false** - The webform is inactive.
button_attributesarrayRequired within parentRepresents the list of button configurations for the variant webform, including submit and reset buttons.
Maximum items: 2
button_attributes[]ModelEach itemExpand Create AB testing configuration — request body — body AB testing item variant form item button attributes item
code_formatsarrayOptionalRepresents the list of embed code formats available for this variant webform.
Maximum items: 3
code_formats[]stringEach itemRepresents 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_codestringOptionalRepresents the embeddable script code for the variant webform.
Maximum length: 255
encrypted_form_idstringOptionalRepresents the encrypted identifier of the variant webform, used for analytics and tracking.
Maximum length: 255
form_attributesModelOptionalExpand Get AB Testing configuration by ID — response body — AB testing AB testing item variant form item form attributes
form_fieldsarrayRequired within parentRepresents the list of form fields included in the variant webform.
Maximum items: 5
form_fields[]ModelEach itemExpand Get AB Testing configuration by ID — response body — AB testing AB testing item variant form item form fields item
idstringOptionalRepresents the unique identifier of the variant webform.
Maximum length: 19
iframe_codestringOptionalRepresents the iframe embed code for displaying the variant webform.
Maximum length: 255
leadingbooleanOptionalIndicates 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.
moduleModelOptionalExpand Create AB testing configuration — request body — body AB testing item module
namestringOptionalRepresents the name of the variant webform.
Maximum length: 255
no_of_submissionJSONOptional
no_of_submission (anyOf 1)integerAlternativeRepresents the total number of form submissions received by the variant webform during the AB test.
Format: int32
no_of_submission (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
no_of_visitsJSONOptional
no_of_visits (anyOf 1)integerAlternativeRepresents the total number of visitor sessions on the variant webform during the AB test.
Format: int32
no_of_visits (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
old_trafficnullOptionalRepresents the previous traffic allocation percentage for the variant webform before the most recent update. Returns null when no previous allocation exists.
source_codestringOptionalRepresents the full HTML source code of the variant webform.
Maximum length: 255
tracking_codestringOptionalRepresents the analytics tracking script injected into the variant webform for visitor tracking.
Maximum length: 2000
trafficJSONRequired within parent
traffic (anyOf 1)integerAlternativeRepresents the percentage of visitor traffic allocated to the variant webform.
Format: int32
traffic (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
winnerbooleanOptionalIndicates 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_confidencenullOptionalRepresents 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

FieldTypePresenceDescription and constraints
$objectRootRepresents the visual styling configuration of a webform variant, including width, color, font attributes, and alignment.
Additional keys: not allowed
alignstringOptionalRepresents 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
colorstringOptionalRepresents the background color of the webform, specified as a hex code or color name.
Maximum length: 255
display_form_namebooleanOptionalIndicates 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_attributesModelOptionalExpand Get AB Testing configuration by ID — response body — AB testing AB testing item variant form item form attributes font attributes
widthJSONOptional
width (anyOf 1)integerAlternativeRepresents 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)stringAlternativePattern: ^-?[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

FieldTypePresenceDescription and constraints
$objectRootRepresents the font styling configuration for a webform, including size, color, and font family.
Additional keys: not allowed
colorstringOptionalRepresents the font color of the form text, specified as a hex code or color name.
Maximum length: 255
familystringOptionalRepresents the font family used for the form text.
Maximum length: 255
sizeJSONOptional
size (anyOf 1)integerAlternativeRepresents the font size used for the form text, in points.
Format: int32
size (anyOf 2)stringAlternativePattern: ^-?[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

FieldTypePresenceDescription and constraints
$objectRootRepresents a field entry in a webform, including its type, visibility, and help configuration.
Additional keys: not allowed
date_formatJSONOptional
date_format (anyOf 1)stringAlternativeRepresents 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)nullAlternativeRepresents the date format used for date fields in the webform. Returns null when no date format is specified.
Maximum length: 50
default_valueJSONOptional
default_value (anyOf 1)stringAlternativeRepresents the default value pre-populated in the hidden field on the webform.
Maximum length: 32000
default_value (anyOf 2)nullAlternativeRepresents the default value pre-populated in the hidden field on the webform.
Maximum length: 32000
fieldModelOptionalExpand Create AB testing configuration — request body — body AB testing item variant form item form fields item field
field_infoModelOptionalExpand Get AB Testing configuration by ID — response body — AB testing AB testing item variant form item form fields item field info
field_nameJSONOptional
field_name (anyOf 1)stringAlternativeRepresents the display name of the field as shown on the webform.
Maximum length: 255
field_name (anyOf 2)nullAlternativeRepresents the display name of the field as shown on the webform.
Maximum length: 255
helpJSONOptional
help (anyOf 1)objectAlternativeRepresents the help configuration for the field, including help text and an optional URL. Returns null when no help is configured.
help (anyOf 2)nullAlternativeRepresents the help configuration for the field, including help text and an optional URL. Returns null when no help is configured.
hiddenJSONOptional
hidden (anyOf 1)booleanAlternativeIndicates 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)nullAlternativeIndicates 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_valueJSONOptional
privacy_value (anyOf 1)stringAlternativeRepresents the privacy policy content displayed in the privacy policy field on the webform.
Maximum length: 2000
privacy_value (anyOf 2)nullAlternativeRepresents the privacy policy content displayed in the privacy policy field on the webform.
Maximum length: 2000
recaptcha_labelJSONOptional
recaptcha_label (anyOf 1)stringAlternativeRepresents the label displayed for the reCAPTCHA field on the webform.
Maximum length: 50
recaptcha_label (anyOf 2)nullAlternativeRepresents the label displayed for the reCAPTCHA field on the webform.
Maximum length: 50
requiredJSONOptional
required (anyOf 1)booleanAlternativeIndicates 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)nullAlternativeIndicates 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_keyJSONOptional
secret_key (anyOf 1)stringAlternativeRepresents the secret key used for reCAPTCHA verification on the webform.
Maximum length: 50
secret_key (anyOf 2)nullAlternativeRepresents the secret key used for reCAPTCHA verification on the webform.
Maximum length: 50
site_keyJSONOptional
site_key (anyOf 1)stringAlternativeRepresents the site key used to render the reCAPTCHA widget on the webform.
Maximum length: 50
site_key (anyOf 2)nullAlternativeRepresents the site key used to render the reCAPTCHA widget on the webform.
Maximum length: 50
themeJSONOptional
theme (anyOf 1)stringAlternativeRepresents 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)nullAlternativeRepresents 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
typestringRequired within parentRepresents 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

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)objectAlternativeRepresents an advanced or custom field type included in a webform variant.
Additional keys: not allowed
$ (anyOf 1).field_labelstringOptionalRepresents the display label of the advanced webform field.
Maximum length: 255
$ (anyOf 1).typestringRequired within parentRepresents the API name that identifies the type of the advanced webform field.
Maximum length: 255
$ (anyOf 2)nullAlternativeRepresents an advanced or custom field type included in a webform variant.
Additional keys: not allowed
$ (anyOf 2).field_labelstringOptionalRepresents the display label of the advanced webform field.
Maximum length: 255
$ (anyOf 2).typestringRequired within parentRepresents 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

FieldTypePresenceDescription and constraints
$objectRootRepresents the winner declaration configuration for an AB test, including automatic announcement settings and the conversion percentage difference threshold.
Additional keys: not allowed
announce_automaticallybooleanOptionalIndicates 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_differenceJSONOptional
conversion_percentage_difference (anyOf 1)integerAlternativeRepresents 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)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Get AB Testing form preview — response body

FieldTypePresenceDescription and constraints
$objectRootSuccessful response returned when retrieving the HTML preview of an AB test's forms.
Additional keys: not allowed
AB_testingarrayOptionalRepresents the list of AB test preview data, including HTML code for each form.
Maximum items: 1
AB_testing[]ModelEach itemExpand 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

FieldTypePresenceDescription and constraints
$objectRootRepresents 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_formModelOptionalExpand Get AB Testing form preview — response body — AB testing item base form
Field: base_form
idstringOptionalRepresents the unique identifier of the AB test included in the preview response.
Maximum length: 19
variant_formarrayOptionalRepresents the list of variant webform previews included in the AB test, each with embed, iframe, and source code formats.
Maximum items: 2
variant_form[]ModelEach itemExpand 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

FieldTypePresenceDescription and constraints
$objectRootRepresents the HTML preview data for a webform, including embed, iframe, and source code formats.
Additional keys: not allowed
activebooleanOptionalIndicates whether the webform is currently active.
Possible values:
**true** - The webform is active.
**false** - The webform is inactive.
code_formatsarrayOptionalRepresents the list of embed code formats available for this webform.
Maximum items: 3
code_formats[]stringEach itemRepresents 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_codestringOptionalRepresents the embeddable script code for the webform.
Maximum length: 2000
idstringOptionalRepresents the unique identifier of the webform.
Maximum length: 19
iframe_codestringOptionalRepresents the iframe embed code for displaying the webform.
Maximum length: 2000
moduleModelOptionalExpand Create AB testing configuration — request body — body AB testing item module
namestringOptionalRepresents the name of the webform.
Maximum length: 100
source_codestringOptionalRepresents 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

FieldTypePresenceDescription and constraints
$objectRootSuccessful response returned when retrieving AI-generated optimization suggestions for an AB test.
Additional keys: not allowed
AB_testing_suggestionsarrayRequired within parentRepresents the list of AI-generated optimization suggestions for the AB test.
Maximum items: 1
AB_testing_suggestions[]ModelEach itemExpand 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

FieldTypePresenceDescription and constraints
$objectRootRepresents an AI-generated optimization suggestion for an AB test, including the suggestion type and details.
Additional keys: not allowed
suggestion_detailsModelRequired within parentExpand Get AB testing optimization suggestions — response body — AB testing suggestions AB testing suggestions item suggestion details
typestringRequired within parentRepresents 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

FieldTypePresenceDescription and constraints
$objectRootRepresents the detailed performance data for an AB test suggestion, including metrics for the base form and all variant forms.
Additional keys: not allowed
base_formModelRequired within parentExpand Get AB testing optimization suggestions — response body — AB testing suggestions AB testing suggestions item suggestion details base form
variant_formarrayRequired within parentRepresents the list of variant webforms included in the AB test suggestion details, each with their performance metrics.
Maximum items: 2
variant_form[]ModelEach itemExpand 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

FieldTypePresenceDescription and constraints
$objectRootRepresents the base webform performance data in an AB test suggestion, including submission counts, visits, and traffic allocation.
Additional keys: not allowed
idstringRequired within parentRepresents the unique identifier of the base webform in the suggestion details.
Maximum length: 255
no_of_submissionJSONRequired within parent
no_of_submission (anyOf 1)integerAlternativeRepresents the total number of form submissions received by the base webform during the AB test.
Format: int32
no_of_submission (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
no_of_visitsJSONRequired within parent
no_of_visits (anyOf 1)integerAlternativeRepresents the total number of visitor sessions on the base webform during the AB test.
Format: int32
no_of_visits (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
trafficJSONRequired within parent
traffic (anyOf 1)integerAlternativeRepresents the percentage of visitor traffic currently allocated to the base webform.
Format: int32
traffic (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
underperforming_variantbooleanRequired within parentIndicates 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

FieldTypePresenceDescription and constraints
$objectRootRepresents the variant webform performance data in an AB test suggestion, including submission counts, visits, traffic, and conversion rate.
Additional keys: not allowed
conversion_rateJSONRequired within parent
conversion_rate (anyOf 1)integerAlternativeRepresents the conversion rate of the variant webform during the AB test, as a percentage.
Format: int32
conversion_rate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
idstringRequired within parentRepresents the unique identifier of the variant webform in the suggestion details.
Maximum length: 255
namestringRequired within parentRepresents the name of the variant webform.
Maximum length: 255
no_of_submissionJSONRequired within parent
no_of_submission (anyOf 1)integerAlternativeRepresents the total number of form submissions received by the variant webform during the AB test.
Format: int32
no_of_submission (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
no_of_visitsJSONRequired within parent
no_of_visits (anyOf 1)integerAlternativeRepresents the total number of visitor sessions on the variant webform during the AB test.
Format: int32
no_of_visits (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
trafficJSONRequired within parent
traffic (anyOf 1)integerAlternativeRepresents the percentage of visitor traffic currently allocated to the variant webform.
Format: int32
traffic (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
underperforming_variantbooleanRequired within parentIndicates 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

FieldTypePresenceDescription and constraints
$objectRootSuccessful response returned when retrieving visitor statistics for a specific AB test.
Additional keys: not allowed
AB_testingarrayOptionalRepresents the visitor statistics for the specified AB test.
Maximum items: 1
AB_testing[]ModelEach itemExpand 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

FieldTypePresenceDescription and constraints
$objectRootRepresents visitor statistics for an AB test, including visitor count, start time, and elapsed days.
Additional keys: not allowed
daysJSONOptional
days (anyOf 1)integerAlternativeRepresents the number of days the AB test has been running.
Format: int32
days (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
idstringOptionalRepresents the unique identifier of the AB test.
Maximum length: 19
started_timestringOptionalRepresents the date and time when the AB test started.
Maximum length: 100
visitorsJSONOptional
visitors (anyOf 1)integerAlternativeRepresents the total number of visitors who have been exposed to the AB test.
Format: int32
visitors (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

List Webform A B Testing configurations — response body — AB testing

FieldTypePresenceDescription and constraints
$objectRootSuccessful response returned when retrieving all AB test configurations.
Additional keys: not allowed
AB_testingarrayOptionalRepresents the list of AB test configurations returned by the request.
Maximum items: 1000
AB_testing[]ModelEach itemExpand 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

FieldTypePresenceDescription and constraints
$objectRootRepresents an AB test configuration object in a list response.
Additional keys: not allowed
base_formModelRequired within parentExpand Get AB Testing configuration by ID — response body — AB testing AB testing item base form
complete_restart_infonullOptionalRepresents information about a complete restart of the AB test, if applicable. Returns null when no restart has occurred.
conditionModelRequired within parentExpand Get AB Testing configuration by ID — response body — AB testing AB testing item condition
created_byModelRequired within parentExpand Update AB testing configuration by ID — request body — body AB testing item created by
created_timestringOptionalRepresents the creation date and time of the AB test configuration.
Maximum length: 255
dynamic_allocation_by_ziabooleanOptionalIndicates 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.
idstringRequired within parentRepresents the unique identifier of the AB test configuration.
Maximum length: 19
moduleModelRequired within parentExpand Create AB testing configuration — request body — body AB testing item module
namestringRequired within parentRepresents the name of the AB test configuration.
Maximum length: 255
notifybooleanOptionalIndicates 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_timestringOptionalRepresents the scheduled start time of the AB test.
Maximum length: 255
started_timestringOptionalRepresents the actual date and time when the AB test started running.
Maximum length: 255
statusstringRequired within parentRepresents 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
suggestionnullOptionalRepresents the AI-generated suggestion for the AB test, if available. Returns null when no suggestion is available.
trafficJSONRequired within parent
traffic (anyOf 1)integerAlternativeRepresents the total percentage of visitor traffic allocated to this AB test.
Format: int32
traffic (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
traffic_diversionnullOptionalRepresents the traffic diversion configuration for the AB test, if applicable. Returns null when no traffic diversion is configured.
variant_formarrayRequired within parentRepresents the list of variant webforms included in the AB test, each with its own traffic allocation and performance data.
Maximum items: 2
variant_form[]ModelEach itemExpand List Webform A B Testing configurations — response body — AB testing AB testing item variant form item
winner_configurationModelOptionalExpand 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

FieldTypePresenceDescription and constraints
$objectRootRepresents a variant webform in an AB test list response, including its traffic allocation and winner status.
Additional keys: not allowed
idstringRequired within parentRepresents the unique identifier of the variant webform.
Maximum length: 19
namestringRequired within parentRepresents the name of the variant webform.
Maximum length: 255
old_trafficnullOptionalRepresents the previous traffic allocation percentage for the variant webform before the most recent update. Returns null when no previous allocation exists.
trafficJSONRequired within parent
traffic (anyOf 1)integerAlternativeRepresents the percentage of visitor traffic allocated to the variant webform.
Format: int32
traffic (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
winnerbooleanRequired within parentIndicates 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

FieldTypePresenceDescription and constraints
$objectRootSuccessful response returned when checking for Zia launch suggestions for an AB test.
Additional keys: not allowed
AB_testing_launch_suggestionsarrayRequired within parentRepresents the list of Zia launch suggestions for the specified AB test.
Maximum items: 1
AB_testing_launch_suggestions[]ModelEach itemExpand 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

FieldTypePresenceDescription and constraints
$objectRootRepresents Zia's launch suggestion data for an AB test, comparing conversion rates inside and outside the test.
Additional keys: not allowed
conversion_rate_in_abtestJSONRequired within parent
conversion_rate_in_abtest (anyOf 1)integerAlternativeRepresents the conversion rate of the webform during the AB test period, as a percentage.
Format: int32
conversion_rate_in_abtest (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
conversion_rate_outside_abtestJSONRequired within parent
conversion_rate_outside_abtest (anyOf 1)integerAlternativeRepresents the conversion rate of the webform outside the AB test period, as a percentage.
Format: int32
conversion_rate_outside_abtest (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
has_launch_suggestionbooleanRequired within parentIndicates 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

FieldTypePresenceDescription and constraints
$objectRootRequest body schema for updating an existing AB test configuration.
Additional keys: not allowed
AB_testingarrayRequired within parentRepresents 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[]ModelEach itemExpand 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

FieldTypePresenceDescription and constraints
$objectRootRepresents an AB test configuration object with full details, including base form, variant forms, condition, and winner configuration.
Additional keys: not allowed
base_formModelRequired within parentExpand Update AB testing configuration by ID — request body — body AB testing item base form
codestringOptionalRepresents the response code returned for the AB test operation.
Maximum length: 255
complete_restart_infonullOptionalRepresents information about a complete restart of the AB test, if applicable. Returns null when no restart has occurred.
conditionModelRequired within parentExpand Create AB testing configuration — request body — body AB testing item condition
created_byModelOptionalExpand Update AB testing configuration by ID — request body — body AB testing item created by
created_timestringOptionalRepresents the creation date and time of the AB test configuration.
Maximum length: 255
daysintegerOptionalRepresents the number of days the AB test has been running.
Format: int32
dynamic_allocation_by_ziabooleanOptionalIndicates 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.
idstringOptionalRepresents the unique identifier of the AB test configuration.
Maximum length: 19
moduleModelRequired within parentExpand Create AB testing configuration — request body — body AB testing item module
namestringRequired within parentRepresents the name of the AB test configuration.
Maximum length: 255
notifybooleanOptionalIndicates 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_infonullOptionalRepresents information about a pause or resume action on the AB test, if applicable. Returns null when no pause or resume action has occurred.
start_timestringOptionalRepresents the scheduled start time of the AB test.
Maximum length: 255
started_timestringOptionalRepresents the actual date and time when the AB test started running.
Maximum length: 255
statusstringRequired within parentRepresents 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
suggestionnullOptionalRepresents the AI-generated suggestion for the AB test, if available. Returns null when no suggestion is available.
trafficintegerOptionalRepresents the total percentage of visitor traffic allocated to this AB test.
Format: int32
traffic_diversionnullOptionalRepresents the traffic diversion configuration for the AB test, if applicable. Returns null when no traffic diversion is configured.
variant_formarrayRequired within parentRepresents the list of variant webforms included in the AB test, each with its own traffic allocation and performance data.
Maximum items: 2
variant_form[]ModelEach itemExpand Update AB testing configuration by ID — request body — body AB testing item variant form item
visitorsintegerOptionalRepresents the total number of visitors who have been exposed to the AB test.
Format: int32
winner_configurationModelOptionalExpand 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

FieldTypePresenceDescription and constraints
$objectRootRepresents the base webform in an AB test, including its traffic allocation, performance metrics, and embed code formats.
Additional keys: not allowed
activebooleanOptionalIndicates whether the base webform is currently active.
Possible values:
**true** - The webform is active and accepting submissions.
**false** - The webform is inactive.
code_formatsarrayOptionalRepresents the list of embed code formats available for this webform.
Maximum items: 3
code_formats[]stringEach itemRepresents 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_codestringOptionalRepresents the embeddable script code for the webform.
Maximum length: 255
idstringRequired within parentRepresents the unique identifier of the base webform.
Maximum length: 255
iframe_codestringOptionalRepresents the iframe embed code for displaying the webform.
Maximum length: 255
leadingbooleanOptionalIndicates 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.
moduleModelOptionalExpand Create AB testing configuration — request body — body AB testing item module
namestringOptionalRepresents the name of the base webform.
Maximum length: 255
no_of_submissionintegerOptionalRepresents the total number of form submissions received by the base webform during the AB test.
Format: int32
no_of_visitsintegerOptionalRepresents the total number of visitor sessions on the base webform during the AB test.
Format: int32
old_trafficnullOptionalRepresents the previous traffic allocation percentage for the base webform before the most recent update. Returns null when no previous allocation exists.
source_codestringOptionalRepresents the full HTML source code of the base webform.
Maximum length: 255
trafficintegerRequired within parentRepresents the percentage of visitor traffic allocated to the base webform.
Format: int32
winnerbooleanOptionalIndicates 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_confidencenullOptionalRepresents 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

FieldTypePresenceDescription and constraints
$objectRootRepresents the CRM user who created the AB test configuration.
Additional keys: not allowed
idstringOptionalRepresents the unique identifier of the user who created the AB test.
Maximum length: 19
namestringOptionalRepresents 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

FieldTypePresenceDescription and constraints
$objectRootRepresents a variant webform in an AB test response, including its traffic allocation, performance metrics, embed code formats, and form fields.
Additional keys: not allowed
activebooleanOptionalIndicates whether the variant webform is currently active.
Possible values:
**true** - The webform is active and accepting submissions.
**false** - The webform is inactive.
button_attributesarrayRequired within parentRepresents the list of button configurations for the variant webform, including submit and reset buttons.
Maximum items: 2
button_attributes[]ModelEach itemExpand Create AB testing configuration — request body — body AB testing item variant form item button attributes item
code_formatsarrayOptionalRepresents the list of embed code formats available for this variant webform.
Maximum items: 3
code_formats[]stringEach itemRepresents 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_codestringOptionalRepresents the embeddable script code for the variant webform.
Maximum length: 255
encrypted_form_idstringOptionalRepresents the encrypted identifier of the variant webform, used for analytics and tracking.
Maximum length: 255
form_attributesModelOptionalExpand Create AB testing configuration — request body — body AB testing item variant form item form attributes
form_fieldsarrayRequired within parentRepresents the list of form fields included in the variant webform.
Maximum items: 5
form_fields[]ModelEach itemExpand Create AB testing configuration — request body — body AB testing item variant form item form fields item
idstringOptionalRepresents the unique identifier of the variant webform.
Maximum length: 19
iframe_codestringOptionalRepresents the iframe embed code for displaying the variant webform.
Maximum length: 255
leadingbooleanOptionalIndicates 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.
moduleModelOptionalExpand Create AB testing configuration — request body — body AB testing item module
namestringOptionalRepresents the name of the variant webform.
Maximum length: 255
no_of_submissionintegerOptionalRepresents the total number of form submissions received by the variant webform during the AB test.
Format: int32
no_of_visitsintegerOptionalRepresents the total number of visitor sessions on the variant webform during the AB test.
Format: int32
old_trafficnullOptionalRepresents the previous traffic allocation percentage for the variant webform before the most recent update. Returns null when no previous allocation exists.
source_codestringOptionalRepresents the full HTML source code of the variant webform.
Maximum length: 255
tracking_codestringOptionalRepresents the analytics tracking script injected into the variant webform for visitor tracking.
Maximum length: 2000
trafficintegerRequired within parentRepresents the percentage of visitor traffic allocated to the variant webform.
Format: int32
winnerbooleanOptionalIndicates 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_confidencenullOptionalRepresents 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

FieldTypePresenceDescription and constraints
$objectRootSuccessful response returned after updating an AB test configuration.
Additional keys: not allowed
AB_testingarrayOptionalRepresents the list of results for the AB test update operation.
Maximum items: 1
AB_testing[]ModelEach itemExpand Create AB testing configuration — response body — AB testing item

Referenced models: Create AB testing configuration — response body — AB testing item

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.