Mar 27, 202310:59 PM - edited Apr 13, 20238:34 AM
Participant
Marketing Events API Search Returns No Results
I created an app to help with this if you are interested. It is approved on the HubSpot marketplace, and I think it could help your use case. It allows you have a settings page UI to create events directly in the HubSpot tool without needing to go to the API. I also added a Workflow action that can manage the registration status of contacts for the created events.
Note that for your question, you must be using an OAuth connection to search for the event, and you can only search for events created by said OAuth connection.
I'm having the same problem in getting the information out of a Marketing event for further use.
In addition I can't retrieve an ID (like your '7') in any way or set an ID when creating a new Marketing event. Maybe HubSpot has changed this in the meanwhile.
I've also tried to create a custom Marketing event property called 'id', but then it says it is not possible since it already exists (which I already thought would happen). I know my Marketing events have ID's, but I'm just not able to retrieve those.
Hey @AlexBril - I did not manage to get this to work, I suspect there is a bug in the HubSpot API. I continue to watch this thread with the hope that, at some point, the HubSpot team will resolve and let us know.