APIs & Integrations

Alexandre_Morin
Member

How to publish a marketing email using API

I've manage to clone a working marketing email using this endpoint :

/marketing-emails/v1/emails/:id:/clone

 

but now i want to be able to publish it however i do not see any endpoint for that purpose.

 

I did try to modify some attributed but without success.

 

Would anyone have a recommandation?

10 Replies 10
abogaard
Participant

How to publish a marketing email using API

Hello, is there any progress on this?

0 Upvotes
Danik
Member

How to publish a marketing email using API

Hello,

My team is also struggling with this. Once creating a new Marketing Email via the API, is it possible to publish it programmatically?

0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

How to publish a marketing email using API

@Danik , not yet, but as Wendy suggested, it will at some point.  Most likely when the endpoints are updated to the V3

0 Upvotes
WendyGoh
HubSpot Employee
HubSpot Employee

How to publish a marketing email using API

Hey @Alexandre_Morin,

 

Could you confirm that the portal that you'd like to publish marketing email via HubSpot API is 1487xx? 

 

Additionally, could you share more on your use case? 

0 Upvotes
Alexandre_Morin
Member

How to publish a marketing email using API

yes it is this portal. 

 

Our use case is simple, we have users that need to create custom mailing email that get sent be our transactional api within a more global campaing and will act based on certain stats of those emails that we need to show in our internal system

0 Upvotes
WendyGoh
HubSpot Employee
HubSpot Employee

How to publish a marketing email using API

Hey @Alexandre_Morin,

 

Edit:

It looks like the use case that you shared are more so for transactional email. Could you expand on the use case for the Marketing Email Publish API? Thank you!

0 Upvotes
Alexandre_Morin
Member

How to publish a marketing email using API

the difference with transactional email is that we can't have the stats per batch

 

in our example we have 1 user that select 1000 user to email using specific content that we need stats only for this batch.

 

The original users can do this about 6-7 time a week and must do so within our application.

 

The issue we had in the past with transactional email is that a emails template are stuck under a campain so if i have 900 users that use the same email id (as they are treated as templated) they stats merge togerher , which we do not want.

0 Upvotes
WendyGoh
HubSpot Employee
HubSpot Employee

How to publish a marketing email using API

Hey @Alexandre_Morin,

 

Thanks for sharing! I'll check in with the team and get back to you here!

0 Upvotes
Alexandre_Morin
Member

How to publish a marketing email using API

Thanks Wendy,

 

Did you manage to have a reply from the team? The reason i'm asking is because due to all those covid-19 mesures this is becoming more critical to know how to do that.

 

 

0 Upvotes
WendyGoh
HubSpot Employee
HubSpot Employee

How to publish a marketing email using API

Hey @Alexandre_Morin,

 

Sincere apologise for the delayed in response.

 

Here's an update! 

 

A couple things here:

  • At some point, HubSpot will support a Marketing Email Publish API. 
  • Right now we are not adding more customers to the Alpha.
  • That endpoint actually may end up being deprecated in favor of a different approach.
As such, we wouldn't be able to add your team to the Alpha. That said, we have already added your team to something similar in the future.
0 Upvotes