APIs & Integrations

Nino_Palermo
Member

How to get Email Campaign Timestamp via API

Hello,

we are getting all Email Campaigns properties (clicks, Bounces, Reply, Open, Delivered, etc etc) via this API: http://developers.hubspot.com/docs/methods/email/get_campaign_data

We need also to get the Timestamp on when each Email Campaign was created/sent. How can we get this piece of data via API?

Thanks,
Nino

0 Upvotes
3 Replies 3
Dadams
HubSpot Employee
HubSpot Employee

How to get Email Campaign Timestamp via API

Hi @Nino_Palermo

Can you tell me more about what you’re looking for here? We don’t have a way to see when a campaign was created, but the event data would show you when the emails were actually sent.

Get email events | Email Events API

GET /email/public/v1/events

0 Upvotes
Nino_Palermo
Member

How to get Email Campaign Timestamp via API

HI,

I see. Actually data about when emails were Sent could be good, however we need to understand how we would get these data.

As for some email campaign the sending is spread through all the days, and for some this is concentrated in one unique day, how we would get the data split by (Campaign Name)?

0 Upvotes
Dadams
HubSpot Employee
HubSpot Employee

How to get Email Campaign Timestamp via API

The get events endpoint I linked previously will let you get data for a specific campaign (using the same campaign ID and app ID that you use with the get campaign data endpoint you’re already using). The data you’d get from the endpoint would include all event data, so each separate send event would be returned, so you’d be able to check when the sends occurred to see if they happened all at once or were spread out.

There some more general information about the data you’d be able to see with the Email Events API on the overview page:

Email Events Overview | Email Events API

An overview of the Email Events API.

0 Upvotes