# Review email performance data

**URL:** <https://community.hubspot.com/t/review-email-performance-data/90609>\
**Category:** APIs & Integrations\
**Tags:** php\
**Created:** [September 27, 2023, 5:06pm UTC](https://community.hubspot.com/t/review-email-performance-data/90609 "2023-09-27T17:06:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MDavydenko](https://avatars.discourse-cdn.com/v4/letter/m/3d9bf3/32.png) [@MDavydenko](https://community.hubspot.com/u/MDavydenko)\
**Post date:** [September 27, 2023, 5:06pm UTC](https://community.hubspot.com/t/review-email-performance-data/90609/1 "2023-09-27T17:06:34Z")

</div>

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

 ![MDavydenko_0-1695834220161.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/b/5/b58fbe682f93504261da8fe4fa3ec96ac0e272f9.png)

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

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [September 28, 2023, 9:47pm UTC](https://community.hubspot.com/t/review-email-performance-data/90609/2 "2023-09-28T21:47:27Z")

</div>

Hey, @MDavydenko 👋 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

---

<div class="post-metadata">

**Author:** ![MDavydenko](https://avatars.discourse-cdn.com/v4/letter/m/3d9bf3/32.png) [@MDavydenko](https://community.hubspot.com/u/MDavydenko)\
**Post date:** [September 29, 2023, 3:09pm UTC](https://community.hubspot.com/t/review-email-performance-data/90609/3 "2023-09-29T15:09:39Z")

</div>

[@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074) this is my request  
[https://api.hubapi.com/marketing-emails/v1/emails/with-statistics?limit=50&published\_date\_\_range=1690848000000&published\_date\_\_range=1693526399000](https://api.hubapi.com/marketing-emails/v1/emails/with-statistics?limit=50&published_date __range=1690848000000&created__ 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?

---

<div class="post-metadata">

**Author:** ![MDavydenko](https://avatars.discourse-cdn.com/v4/letter/m/3d9bf3/32.png) [@MDavydenko](https://community.hubspot.com/u/MDavydenko)\
**Post date:** [October 5, 2023, 5:35pm UTC](https://community.hubspot.com/t/review-email-performance-data/90609/4 "2023-10-05T17:35:49Z")

</div>

[@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074)any suggestions?
