Nov 26, 2020 9:00 AM
I was wondering if there was a way in which I could get the associated contact and company details of a ticket using an API? Or copy the ticket's associated company and contact details into fields on the ticket via a workfllow?
For a little background information... I have an application which currently pulls all tickets within a specific pipeline, using the crm/v3/objects/tickets/searchcrm/v3/objects/tickets/search POST API (https://developers.hubspot.com/docs/api/crm/search). However, I cannot seem to get the associated company and contact details of a ticket using the API. Is there a way to do so?
Any advice/solutions is appreciated.
Nov 26, 2020 2:27 PM
Nov 27, 2020 6:00 AM - edited Nov 27, 2020 6:40 AM
Thank you for taking the time to reply.
In the end I created two functions, one for getting the ticket's associated contact and the other for getting the company and passed in the ticket's id as a parameter. Within each function I first used the