APIs & Integrations

rrizal
Member

Marketing email events API

I am looking to export marketing emails and their recipients(for particular campaign) using API. It asks for appId which I don't have one.  How can I get appId?

{"status":"error","message":"query params 'appId' and 'emailCampaignId' must be specified together","correlationId":"a998f3cf-1da5-4139-a059-b97a5f544edb"}

Additionally- what will be the best way to extract all the marketing emails with email recipients and their actions like email received, opened, bounce, clicks etc? Any guidance to specific API would be appreciated.

 

0 Upvotes
1 Reply 1
WendyGoh
HubSpot Employee
HubSpot Employee

Marketing email events API

Hey @rrizal,

 

To clarify, are you using the Get email events API? If so, what's the exact request URL  that you're using?

 

If you'd like to get the stats of a specific marketing email, you can check this API out: Get the statistics for a marketing email. While this doesn't drill down to individual email actions, this will show the overall clicks, open etc. 

0 Upvotes