APIs & Integrations

IDickie
Member

Marketing Events API - How to get an external event ID number?

Hi.
 
We’ve created a marketing event within Hubspot itself. It’s not connected to a third-party platform such as Eventbrite — we’re handling registrations etc ourselves.
 
We also have a private app registered on Hubspot to use the API. It’s connected to our account using the appropriate scopes, and we’ve confirmed that we can access the relevant API endpoints.
 
However, to mark a contact as being registered for the marketing event, we need an external event ID.  Our problem is that we have no way of determining what ID to use here.
 
We’ve tried the Marketing Events Search endpoint, but regardless of the query to use, the marketing event we created within Hubpsot is never returned. And we can’t see an ID for the event in the Hubspot UI.
 
What should we do?
 
Any ideas greatly appreciated!
3 Replies 3
ChrisDellen
Participant | Partner
Participant | Partner

Marketing Events API - How to get an external event ID number?

I'm struggling with this same issue!

 

0 Upvotes
Jasper_Madrone
Participant

Marketing Events API - How to get an external event ID number?

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.

Check it out here

0 Upvotes
ChrisoKlepke
Key Advisor | Elite Partner
Key Advisor | Elite Partner

Marketing Events API - How to get an external event ID number?

Hey @IDickie , 

 

this is supper odd indeed. It kinda looks like HubSpot using the externalEventId which is intended to come from a third-party app as its own identifier.

 

During testing, I was also not able to get any ID from an event that I've created in the HubSpot UI. Have you tried creating the event through the API and using any number to set an externalEventId?

 

Cheers, 

Chriso