Greetings. Very new to HubSpot but not to REST and APIs. I’m being asked to get a set of contacts and information related to a campaign and we have a short deadline. They want to get the contact data, the email data, and the the activity that has occurred on the email (read, not_read, etc.). I was hoping that I would be able to get this in one payload in the end. I can get a contact and I can get an email sent to that contact with two different calls. Do I have to make two calls or can it be combined into one? Thanks for any help.
Hey, @jlehman_usf You are not missing an option here. You’ll need to make two calls to accomplish your goal. Hey, @JBeatty @ChrisoKlepke, am I missing any obvious workarounds here?
Best,
Jaycee
Ok so associations are more for helping you do a search. For example I want contacts that have a new email or contacts that have read a specific email. You can use an association to find those contacts. Is that correct?