How to connect the different Engagement ETLs with companies and contacts?

I’m building an ETL that would ideally output a timestamp, engagement type and all of the details surrounding the engagement: first and last name of the engagement creator, first and last name of the contact (who was engaged with, ex. the contact who was emailed), company name of contact, phone numbers (of both call recipient and caller) and email addresses of both sender and receiver. I’ve tried different methods and can pull each engagement separately or pull them all but with no names (ids only) and I’m have a hard time merging on ids because I’m not sure which is which. Thanks in advance

Hi, @tutuzeez37 :waving_hand: Thanks for reaching out. Can you provide any additional details, code snippets, or screenshots to help provide our community with additional information, please? This helps the community understand if and how they may be able to assist.

Best,

Jaycee

Hello,

Apologies for the late reply

I am pulling from the main engagements api using the endpoint:

https://api.hubapi.com/engagements/v1/engagements/paged

Which returns the following columns:

Which of these is the corresponding ID column for the emails engagements and which is for the calls? Meaning, is engagement.uid the corresponding column for the id column in the emails and calls apis?

I want more details on the calls and emails, so when I pull from

/crm/v3/objects/calls

And

/crm/v3/objects/emails

I do not know how to merge them onto the main engagement table… any tips?