# Get emails from a specific deal

**URL:** <https://community.hubspot.com/t/get-emails-from-a-specific-deal/115853>\
**Category:** APIs & Integrations\
**Tags:** email\
**Created:** [September 5, 2024, 1:01pm UTC](https://community.hubspot.com/t/get-emails-from-a-specific-deal/115853 "2024-09-05T13:01:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Besteman](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/besteman/32/203767_2.png) [@Besteman](https://community.hubspot.com/u/Besteman)\
**Post date:** [September 5, 2024, 1:01pm UTC](https://community.hubspot.com/t/get-emails-from-a-specific-deal/115853/1 "2024-09-05T13:01:46Z")

</div>

I can not find out how to pull all the emails from a Deal Record.  
The following properties are what I am looking to pull from Deal:  
hs\_email\_text  
hs\_email\_subject  
hs\_email\_from\_email

I want to pass in a Deal ID and receive all the emails on that record with the above properties.

I have tried to pass in the filters to the email search endpoint and I keep getting no results.

 ![Besteman_0-1725541299372.jpeg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/c/9cbd613fe5d0787e7acdb6b5f4af4a53d9bdb36b.jpeg)

---

<div class="post-metadata">

**Author:** ![KhushbooP11](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/khushboop11/32/8252_2.png) [@KhushbooP11](https://community.hubspot.com/u/KhushbooP11)\
**Post date:** [September 5, 2024, 6:20pm UTC](https://community.hubspot.com/t/get-emails-from-a-specific-deal/115853/2 "2024-09-05T18:20:36Z")

</div>

Hi @Besteman,

To get emails from a specific deal:

1. Retrieve all email engagements associated with the deal using the Deal ID.  
GET /crm/v3/objects/deals/{dealId}/associations/emails  
2. **Fetch Email Details** : For each email, get the details like hs\_email\_text, hs\_email\_subject, and hs\_email\_from\_email.  
GET /engagements/v1/engagements/{engagementId}

This will give you all the emails linked to the deal.

I hope it helps, let me know if you need to [talk](https://calendly.com/khushboo-pokhriyal/30min?month=2024-08)!

Khushboo Pokhriyal

Growth & Operations

GroRapid Labs

[LinkedIn |](https://www.linkedin.com/in/khushboopokhriyal)9315044754 | [Email |](mailto:khushboo.pokhriyal@grorapid.com)[Website](https://www.grorapidlabs.com/)

---

<div class="post-metadata">

**Author:** ![Besteman](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/besteman/32/203767_2.png) [@Besteman](https://community.hubspot.com/u/Besteman)\
**Post date:** [September 6, 2024, 1:42pm UTC](https://community.hubspot.com/t/get-emails-from-a-specific-deal/115853/3 "2024-09-06T13:42:41Z")

</div>

Yes, that worked!

I would hope that Hubspot would have a way to do it with 1 API call.
