---
title: "MarketingEmailAbTestVariationWorkflowNamesByEmailId (HubSpot)"
description: "Marketing Email A/B Test Variation Workflow Names by Email ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/hubspot/MarketingEmails.Emails.MarketingEmailAbTestVariationWorkflowNamesByEmailId
original: https://documentation.invantive.eu/en/datamodels/hubspot/MarketingEmails.Emails.MarketingEmailAbTestVariationWorkflowNamesByEmailId
updated: 2026-05-19T15:51:43Z
license: https://documentation.invantive.eu/en/
---

# MarketingEmailAbTestVariationWorkflowNamesByEmailId: HubSpot Marketing Email A/B Test Variation Workflow Names by Email ID

`read only` `REST`

- Catalog: `MarketingEmails`
- Schema: `Emails`
- Label: Marketing Email A/B Test Variation Workflow Names by Email ID

Get the variation of a an A/B marketing email
This endpoint lets you obtain the variation of an A/B marketing email. If the email is variation A (master) it will return variation B (variant) and vice versa.

Can only retrieve data.

## API Source

- Endpoint: `/marketing/v3/emails/{emailId}/ab-test/get-variation`
- Operation: `get /marketing/v3/emails/{emailId}/ab-test/get-variation`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `archived` | `` | [ ] |  | Whether to return only results that have been archived. |
| `emailId` | `` | [x] |  |  |
| `includeStats` | `` | [ ] |  |  |
| `marketingCampaignNames` | `` | [ ] |  |  |
| `variantStats` | `` | [ ] |  |  |
| `workflowNames` | `` | [ ] |  |  |

## Table Columns

The columns of the table `MarketingEmailAbTestVariationWorkflowNamesByEmailId` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `activeDomain` | `varchar2` | itgen_hubspot_activedomain | [ ] |  | The active domain of the email. |
| `archived` | `char` | Archived | [ ] |  | Determines if the email is archived or not. |
| `businessUnitId` | `varchar2` | itgen_hubspot_businessunitid | [ ] |  |  |
| `campaign` | `varchar2` | Campaign | [ ] |  | The ID of the campaign this email is associated to. |
| `campaignName` | `varchar2` | Campaign Name | [ ] |  | The name of the campaign. |
| `campaignUtm` | `varchar2` | itgen_hubspot_campaignutm | [ ] |  |  |
| `clonedFrom` | `varchar2` | itgen_hubspot_clonedfrom | [ ] |  | The ID of the email this email was cloned from. |
| `content_flexAreas` | `varchar2` | itgen_hubspot_content_flexareas | [ ] |  |  |
| `content_plainTextVersion` | `varchar2` | itgen_hubspot_content_plaintextversion | [ ] |  |  |
| `content_smartFields` | `varchar2` | itgen_hubspot_content_smartfields | [ ] |  |  |
| `content_styleSettings_backgroundColor` | `varchar2` | itgen_hubspot_content_stylesettings_backgroundcolor | [ ] |  |  |
| `content_styleSettings_backgroundImage` | `varchar2` | itgen_hubspot_content_stylesettings_backgroundimage | [ ] |  |  |
| `content_styleSettings_backgroundImageType` | `varchar2` | itgen_hubspot_content_stylesettings_backgroundimagetype | [ ] |  |  |
| `content_styleSettings_bodyBorderColor` | `varchar2` | itgen_hubspot_content_stylesettings_bodybordercolor | [ ] |  |  |
| `content_styleSettings_bodyBorderColorChoice` | `varchar2` | itgen_hubspot_content_stylesettings_bodybordercolorchoice | [ ] |  |  |
| `content_styleSettings_bodyBorderWidth` | `decimal` | itgen_hubspot_content_stylesettings_bodyborderwidth | [ ] |  |  |
| `content_styleSettings_bodyColor` | `varchar2` | itgen_hubspot_content_stylesettings_bodycolor | [ ] |  |  |
| `content_styleSettings_buttonStyleSettings_backgroundColor` | `varchar2` | itgen_hubspot_content_stylesettings_buttonstylesettings_backgroundcolor | [ ] |  |  |
| `content_styleSettings_buttonStyleSettings_cornerRadius` | `int32` | itgen_hubspot_content_stylesettings_buttonstylesettings_cornerradius | [ ] |  |  |
| `content_styleSettings_buttonStyleSettings_fontStyle_bold` | `char` | itgen_hubspot_content_stylesettings_buttonstylesettings_fontstyle_bold | [ ] |  |  |
| `content_styleSettings_buttonStyleSettings_fontStyle_color` | `varchar2` | itgen_hubspot_content_stylesettings_buttonstylesettings_fontstyle_color | [ ] |  |  |
| `content_styleSettings_buttonStyleSettings_fontStyle_font` | `varchar2` | itgen_hubspot_content_stylesettings_buttonstylesettings_fontstyle_font | [ ] |  |  |
| `content_styleSettings_buttonStyleSettings_fontStyle_italic` | `char` | itgen_hubspot_content_stylesettings_buttonstylesettings_fontstyle_italic | [ ] |  |  |
| `content_styleSettings_buttonStyleSettings_fontStyle_size` | `int32` | itgen_hubspot_content_stylesettings_buttonstylesettings_fontstyle_size | [ ] |  |  |
| `content_styleSettings_buttonStyleSettings_fontStyle_underline` | `char` | itgen_hubspot_content_stylesettings_buttonstylesettings_fontstyle_underline | [ ] |  |  |
| `content_styleSettings_colorPickerFavorite1` | `varchar2` | itgen_hubspot_content_stylesettings_colorpickerfavorite1 | [ ] |  |  |
| `content_styleSettings_colorPickerFavorite2` | `varchar2` | itgen_hubspot_content_stylesettings_colorpickerfavorite2 | [ ] |  |  |
| `content_styleSettings_colorPickerFavorite3` | `varchar2` | itgen_hubspot_content_stylesettings_colorpickerfavorite3 | [ ] |  |  |
| `content_styleSettings_colorPickerFavorite4` | `varchar2` | itgen_hubspot_content_stylesettings_colorpickerfavorite4 | [ ] |  |  |
| `content_styleSettings_colorPickerFavorite5` | `varchar2` | itgen_hubspot_content_stylesettings_colorpickerfavorite5 | [ ] |  |  |
| `content_styleSettings_colorPickerFavorite6` | `varchar2` | itgen_hubspot_content_stylesettings_colorpickerfavorite6 | [ ] |  |  |
| `content_styleSettings_dividerStyleSettings_color` | `varchar2` | itgen_hubspot_content_stylesettings_dividerstylesettings_color | [ ] |  |  |
| `content_styleSettings_dividerStyleSettings_height` | `int32` | itgen_hubspot_content_stylesettings_dividerstylesettings_height | [ ] |  |  |
| `content_styleSettings_dividerStyleSettings_lineType` | `varchar2` | itgen_hubspot_content_stylesettings_dividerstylesettings_linetype | [ ] |  |  |
| `content_styleSettings_emailBodyPadding` | `varchar2` | itgen_hubspot_content_stylesettings_emailbodypadding | [ ] |  |  |
| `content_styleSettings_emailBodyWidth` | `varchar2` | itgen_hubspot_content_stylesettings_emailbodywidth | [ ] |  |  |
| `content_styleSettings_headingOneFont_bold` | `char` | itgen_hubspot_content_stylesettings_headingonefont_bold | [ ] |  |  |
| `content_styleSettings_headingOneFont_color` | `varchar2` | itgen_hubspot_content_stylesettings_headingonefont_color | [ ] |  |  |
| `content_styleSettings_headingOneFont_font` | `varchar2` | itgen_hubspot_content_stylesettings_headingonefont_font | [ ] |  |  |
| `content_styleSettings_headingOneFont_italic` | `char` | itgen_hubspot_content_stylesettings_headingonefont_italic | [ ] |  |  |
| `content_styleSettings_headingOneFont_size` | `int32` | itgen_hubspot_content_stylesettings_headingonefont_size | [ ] |  |  |
| `content_styleSettings_headingOneFont_underline` | `char` | itgen_hubspot_content_stylesettings_headingonefont_underline | [ ] |  |  |
| `content_styleSettings_headingTwoFont_bold` | `char` | itgen_hubspot_content_stylesettings_headingtwofont_bold | [ ] |  |  |
| `content_styleSettings_headingTwoFont_color` | `varchar2` | itgen_hubspot_content_stylesettings_headingtwofont_color | [ ] |  |  |
| `content_styleSettings_headingTwoFont_font` | `varchar2` | itgen_hubspot_content_stylesettings_headingtwofont_font | [ ] |  |  |
| `content_styleSettings_headingTwoFont_italic` | `char` | itgen_hubspot_content_stylesettings_headingtwofont_italic | [ ] |  |  |
| `content_styleSettings_headingTwoFont_size` | `int32` | itgen_hubspot_content_stylesettings_headingtwofont_size | [ ] |  |  |
| `content_styleSettings_headingTwoFont_underline` | `char` | itgen_hubspot_content_stylesettings_headingtwofont_underline | [ ] |  |  |
| `content_styleSettings_linksFont_bold` | `char` | itgen_hubspot_content_stylesettings_linksfont_bold | [ ] |  |  |
| `content_styleSettings_linksFont_color` | `varchar2` | itgen_hubspot_content_stylesettings_linksfont_color | [ ] |  |  |
| `content_styleSettings_linksFont_font` | `varchar2` | itgen_hubspot_content_stylesettings_linksfont_font | [ ] |  |  |
| `content_styleSettings_linksFont_italic` | `char` | itgen_hubspot_content_stylesettings_linksfont_italic | [ ] |  |  |
| `content_styleSettings_linksFont_size` | `int32` | itgen_hubspot_content_stylesettings_linksfont_size | [ ] |  |  |
| `content_styleSettings_linksFont_underline` | `char` | itgen_hubspot_content_stylesettings_linksfont_underline | [ ] |  |  |
| `content_styleSettings_primaryAccentColor` | `varchar2` | itgen_hubspot_content_stylesettings_primaryaccentcolor | [ ] |  |  |
| `content_styleSettings_primaryFont` | `varchar2` | itgen_hubspot_content_stylesettings_primaryfont | [ ] |  |  |
| `content_styleSettings_primaryFontColor` | `varchar2` | itgen_hubspot_content_stylesettings_primaryfontcolor | [ ] |  |  |
| `content_styleSettings_primaryFontLineHeight` | `varchar2` | itgen_hubspot_content_stylesettings_primaryfontlineheight | [ ] |  |  |
| `content_styleSettings_primaryFontSize` | `decimal` | itgen_hubspot_content_stylesettings_primaryfontsize | [ ] |  |  |
| `content_styleSettings_secondaryAccentColor` | `varchar2` | itgen_hubspot_content_stylesettings_secondaryaccentcolor | [ ] |  |  |
| `content_styleSettings_secondaryFont` | `varchar2` | itgen_hubspot_content_stylesettings_secondaryfont | [ ] |  |  |
| `content_styleSettings_secondaryFontColor` | `varchar2` | itgen_hubspot_content_stylesettings_secondaryfontcolor | [ ] |  |  |
| `content_styleSettings_secondaryFontLineHeight` | `varchar2` | itgen_hubspot_content_stylesettings_secondaryfontlineheight | [ ] |  |  |
| `content_styleSettings_secondaryFontSize` | `decimal` | itgen_hubspot_content_stylesettings_secondaryfontsize | [ ] |  |  |
| `content_templatePath` | `varchar2` | itgen_hubspot_content_templatepath | [ ] |  |  |
| `content_themeSettingsValues` | `varchar2` | itgen_hubspot_content_themesettingsvalues | [ ] |  |  |
| `content_widgetContainers` | `varchar2` | itgen_hubspot_content_widgetcontainers | [ ] |  |  |
| `content_widgets` | `varchar2` | itgen_hubspot_content_widgets | [ ] |  |  |
| `createdAt` | `datetime` | Created at | [ ] |  | The date and time of the email's creation, in ISO8601 representation. |
| `createdById` | `varchar2` | Created by ID | [ ] |  | The id of the user who created the email. |
| `deletedAt` | `datetime` | Deleted at | [ ] |  | The date and time the email was deleted at, in ISO8601 representation. |
| `emailCampaignGroupId` | `varchar2` | itgen_hubspot_emailcampaigngroupid | [ ] |  |  |
| `emailTemplateMode` | `varchar2` | itgen_hubspot_emailtemplatemode | [ ] |  |  |
| `feedbackSurveyId` | `varchar2` | itgen_hubspot_feedbacksurveyid | [ ] |  | The ID of the feedback survey linked to the email. |
| `folderId` | `int64` | Folder ID | [ ] |  |  |
| `folderIdV2` | `int64` | itgen_hubspot_folderidv2 | [ ] |  |  |
| `from_customReplyTo` | `varchar2` | itgen_hubspot_from_customreplyto | [ ] |  | The reply to recipients will see. |
| `from_fromName` | `varchar2` | itgen_hubspot_from_fromname | [ ] |  | The name recipients will see. |
| `from_replyTo` | `varchar2` | itgen_hubspot_from_replyto | [ ] |  | The from address and reply to email address (if no customReplyTo defined) recipients will see. |
| `id` | `varchar2` | ID | [ ] |  | The email ID. |
| `isAb` | `char` | itgen_hubspot_isab | [ ] |  |  |
| `isPublished` | `char` | itgen_hubspot_ispublished | [ ] |  | Returns the published status of the email. This is read only. |
| `isTransactional` | `char` | itgen_hubspot_istransactional | [ ] |  | Returns whether the email is a transactional email or not. This is read only. |
| `jitterSendTime` | `char` | itgen_hubspot_jittersendtime | [ ] |  |  |
| `language` | `varchar2` | Language | [ ] |  |  |
| `name` | `varchar2` | Name | [ ] |  | The name of the email, as displayed on the email dashboard. |
| `previewKey` | `varchar2` | itgen_hubspot_previewkey | [ ] |  |  |
| `primaryEmailCampaignId` | `varchar2` | itgen_hubspot_primaryemailcampaignid | [ ] |  |  |
| `publishDate` | `datetime` | Publish Date | [ ] |  | The date and time the email is scheduled for, in ISO8601 representation. This is only used in local time or scheduled emails. |
| `publishedAt` | `datetime` | Published at | [ ] |  | The date and time the email was published at, in ISO8601 representation. |
| `publishedByEmail` | `varchar2` | itgen_hubspot_publishedbyemail | [ ] |  | Email of the user who published/sent the email. |
| `publishedById` | `varchar2` | itgen_hubspot_publishedbyid | [ ] |  | The ID of the user who published the email. |
| `publishedByName` | `varchar2` | itgen_hubspot_publishedbyname | [ ] |  | Name of the user who published the email. |
| `rssData_blogEmailType` | `varchar2` | itgen_hubspot_rssdata_blogemailtype | [ ] |  |  |
| `rssData_blogImageMaxWidth` | `int32` | itgen_hubspot_rssdata_blogimagemaxwidth | [ ] |  |  |
| `rssData_blogLayout` | `varchar2` | itgen_hubspot_rssdata_bloglayout | [ ] |  |  |
| `rssData_hubspotBlogId` | `varchar2` | itgen_hubspot_rssdata_hubspotblogid | [ ] |  |  |
| `rssData_maxEntries` | `int32` | itgen_hubspot_rssdata_maxentries | [ ] |  |  |
| `rssData_rssEntryTemplate` | `varchar2` | itgen_hubspot_rssdata_rssentrytemplate | [ ] |  |  |
| `rssData_timing` | `varchar2` | itgen_hubspot_rssdata_timing | [ ] |  |  |
| `rssData_url` | `varchar2` | itgen_hubspot_rssdata_url | [ ] |  |  |
| `rssData_useHeadlineAsSubject` | `char` | itgen_hubspot_rssdata_useheadlineassubject | [ ] |  |  |
| `sendOnPublish` | `char` | itgen_hubspot_sendonpublish | [ ] |  | Determines whether the email will be sent immediately on publish. |
| `state` | `varchar2` | State | [ ] |  | The email state. |
| `stats_counters` | `varchar2` | itgen_hubspot_stats_counters | [ ] |  | Counters like number of `sent`, `open` or `delivered`. |
| `stats_deviceBreakdown` | `varchar2` | itgen_hubspot_stats_devicebreakdown | [ ] |  | Statistics by device. |
| `stats_qualifierStats` | `varchar2` | itgen_hubspot_stats_qualifierstats | [ ] |  | Number of emails that were dropped and bounced. |
| `stats_ratios` | `varchar2` | itgen_hubspot_stats_ratios | [ ] |  | Ratios like `openratio` or `clickratio` |
| `subcategory` | `varchar2` | Subcategory | [ ] |  | The email subcategory. |
| `subject` | `varchar2` | itgen_hubspot_subject | [ ] |  | The subject of the email. |
| `subscriptionDetails_officeLocationId` | `varchar2` | itgen_hubspot_subscriptiondetails_officelocationid | [ ] |  | ID of the selected office location. |
| `subscriptionDetails_preferencesGroupId` | `varchar2` | itgen_hubspot_subscriptiondetails_preferencesgroupid | [ ] |  |  |
| `subscriptionDetails_subscriptionId` | `varchar2` | itgen_hubspot_subscriptiondetails_subscriptionid | [ ] |  | ID of the subscription. |
| `subscriptionDetails_subscriptionName` | `varchar2` | itgen_hubspot_subscriptiondetails_subscriptionname | [ ] |  |  |
| `testing_abSampleSizeDefault` | `varchar2` | itgen_hubspot_testing_absamplesizedefault | [ ] |  | Version of the email that should be sent if there are too few recipients to conduct an AB test. |
| `testing_abSamplingDefault` | `varchar2` | itgen_hubspot_testing_absamplingdefault | [ ] |  | Version of the email that should be sent if the results are inconclusive after the test period, master or variant. |
| `testing_abStatus` | `varchar2` | itgen_hubspot_testing_abstatus | [ ] |  | Status of the AB test. |
| `testing_abSuccessMetric` | `varchar2` | itgen_hubspot_testing_absuccessmetric | [ ] |  | Metric to determine the version that will be sent to the remaining contacts. |
| `testing_abTestPercentage` | `int32` | itgen_hubspot_testing_abtestpercentage | [ ] |  | The size of your test group. |
| `testing_hoursToWait` | `int32` | itgen_hubspot_testing_hourstowait | [ ] |  | Time limit on gathering test results. After this time is up, the winning version will be sent to the remaining contacts. |
| `testing_isAbVariation` | `char` | itgen_hubspot_testing_isabvariation | [ ] |  |  |
| `testing_testId` | `varchar2` | itgen_hubspot_testing_testid | [ ] |  | The ID of the AB test. |
| `TEXT` | `varchar2` | Text | [ ] |  |  |
| `to_limitSendFrequency` | `char` | itgen_hubspot_to_limitsendfrequency | [ ] |  |  |
| `to_suppressGraymail` | `char` | itgen_hubspot_to_suppressgraymail | [ ] |  | Whether to send to unengaged contacts (false) or not (true). |
| `type` | `varchar2` | Type | [ ] |  | The email type, this is derived from other properties on the email such as subcategory. |
| `unpublishedAt` | `datetime` | itgen_hubspot_unpublishedat | [ ] |  |  |
| `updatedAt` | `datetime` | Updated at | [ ] |  | The date and time of the last update to the email, in ISO8601 representation. |
| `updatedById` | `varchar2` | Updated by ID | [ ] |  | The id of the user who last updated the email. |
| `webversion_domain` | `varchar2` | itgen_hubspot_webversion_domain | [ ] |  |  |
| `webversion_enabled` | `char` | itgen_hubspot_webversion_enabled | [ ] |  |  |
| `webversion_expiresAt` | `datetime` | itgen_hubspot_webversion_expiresat | [ ] |  |  |
| `webversion_isPageRedirected` | `char` | itgen_hubspot_webversion_ispageredirected | [ ] |  |  |
| `webversion_metaDescription` | `varchar2` | itgen_hubspot_webversion_metadescription | [ ] |  |  |
| `webversion_pageExpiryEnabled` | `char` | itgen_hubspot_webversion_pageexpiryenabled | [ ] |  |  |
| `webversion_redirectToPageId` | `varchar2` | itgen_hubspot_webversion_redirecttopageid | [ ] |  |  |
| `webversion_redirectToUrl` | `varchar2` | itgen_hubspot_webversion_redirecttourl | [ ] |  |  |
| `webversion_slug` | `varchar2` | itgen_hubspot_webversion_slug | [ ] |  |  |
| `webversion_title` | `varchar2` | itgen_hubspot_webversion_title | [ ] |  |  |
| `webversion_url` | `varchar2` | itgen_hubspot_webversion_url | [ ] |  |  |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [HubSpot](/en/release-notes/drivers/hubspot)

