Review email performance data

hi y’all. Maybe someone knows how to get the data from a picture

it seems I need to use GET /marketing-emails/v1/emails/with-statistics endpoint , but I cant figure out how to filter by date.

Hey, @MDavydenko :waving_hand: Did you get this worked out?

Can you share your request? Additionally, did you try using the Order by parameter?

Order by&orderBy=
Used in the request URL
Return the emails ordered by a particular field value. Use a negative value to sort in descending order (e.g. orderBy=-created).

Outside of this, the endpoint doesn’t offer additional filtering or sorting. You may need to create some programmatic logic to filter this on your end.

Best,

Jaycee

@Jaycee_Lewis this is my request
https://api.hubapi.com/marketing-emails/v1/emails/with-statistics?limit=50&published_date__range=1690848000000&published_date__range=1693526399000
but this is not what I need. I don’t think I will be able to get data I need using this endpoint. I need to get stats for email campaign for particular period(like on the picture). How to get that data which is available on dashboard?

@Jaycee_Lewisany suggestions?