APIs & Integrations

Besteman
Teilnehmer/-in

Get emails from a specific deal

lösung

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

 

0 Upvotes
1 Akzeptierte Lösung
KhushbooRevOps
Lösung
Teilnehmer/-in

Get emails from a specific deal

lösung

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!

Khushboo Pokhriyal

Growth & Operations

GroRapid Labs

LinkedIn | 9315044754 | Email | Website

Lösung in ursprünglichem Beitrag anzeigen

2 Antworten
KhushbooRevOps
Lösung
Teilnehmer/-in

Get emails from a specific deal

lösung

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!

Khushboo Pokhriyal

Growth & Operations

GroRapid Labs

LinkedIn | 9315044754 | Email | Website

Besteman
Teilnehmer/-in

Get emails from a specific deal

lösung

Yes, that worked!

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

0 Upvotes