APIs & Integrations

IntegrationDev
Contributor

Marketing Email API Repsonse Field Mismatch - Docs vs. Live

Hello,

 

On the v1 marketing email API overview page, details are given on the responses that will be returned ("Each Marketing email has the following data..."). It looks like the fields listed there are out of sync with current behavior. 😞

 

For example, if I use the Get the statistics of all marketing emails API, the fields below that are marked with a "-" are not included in the data received even though they are listed on the overview page and the fields marked with "+" are fields not listed on the overview but which are included in the response received.

 

 

 

-"abStatus"
-"abTestId"
+"archivedInDashboard"
+"audienceAccess"
-"authorAt"
-"authorEmail"
-"authorUserId"
-"blogEmailType"
-"campaign"
-"campaignName"
+"contentAccessRuleIds"
+"contentAccessRuleTypes"
+"createdById"
+"currentState"
+"customReplyTo"
+"customReplyToEnabled"
+"emailTemplateMode"
-"feedbackEmailCategory"
+"emailbodyPlaintext"
-"folderId"
+"hasContentAccessRules"
-"isLocalTimezoneSend"
-"leadFlowId"
+"language"
+"layoutSections"
-"pageExpiryDate"
-"pageExpiryRedirectId"
+"pageExpiryEnabled"
+"pastMabExperimentIds"
+"primaryEmailCampaignId"
+"publishImmediately"
+"publishedByEmail"
-"publishImmediately"
-"rssEmailAuthorLineTemplate"
-"rssEmailBlogImageMaxWidth"
-"rssEmailEntryTemplate"
+"rssEmailImageMaxWidth"
-"rssToEmailTiming"
+"sections"
+"securityState"
+"selected"
+"state"
-"subscriptionBlogId"
-"subscription_name"
+"subscriptionName"
+"teamPerms"
+"translations"
+"userPerms"
-"widgets"
+"visibleToAll"

 

 

 

Any chance the overview page could be updated to reflect current behavior?

 

Thanks!

0 Upvotes
2 Replies 2
IntegrationDev
Contributor

Marketing Email API Repsonse Field Mismatch - Docs vs. Live

Thanks, @Jaycee_Lewis!

0 Upvotes
Jaycee_Lewis
Community Manager
Community Manager

Marketing Email API Repsonse Field Mismatch - Docs vs. Live

Hey, @IntegrationDev Thanks for the heads up 🙌. I'll take a look and let you know when I have an update.

 

Best,

Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes