Hi
I have made a custom property for tickets and i can set and retrieve it via the Tickets API. Is there a way to query tickets and find the ones where the custom property is ‘X’?
Thanks.
Regards
Hi
I have made a custom property for tickets and i can set and retrieve it via the Tickets API. Is there a way to query tickets and find the ones where the custom property is ‘X’?
Thanks.
Regards
Welcome, @Nikola_Borozhiev!
Similar to my response below, this currently is not possible:
New API: Tickets Announcements
Welcome, @kakigori! All public announcements and timelines regarding API changes will be published to the Changelog. That said, it’s not possible to look up tickets by custom property values at this time. If you don’t wish to store ticket IDs in your system, the best approach I can think of is to query the CRM Associations API for tickets associated with a given contact ID (vid) and then pass the returned ticket IDs to this endpoint. While I can imagine the team wishes to add custom property …
In your case, finding tickets with a custom property value of X would parsing through the results of the Get all tickets endpoint.
If you would like to see this type of functionality added to the Tickets API, please post your request on the HubSpot Community Ideas Forum including as much detail as possible. This information is sent directly to our Product team and helps prioritize feature requests that have the greatest impact on our customers.
If you share a link to your idea here, I’ll be happy to upvote it and share it with the folks in the other thread.