• ¿Estás listo para crear tu comunidad local de HubSpot?

    Los líderes de HUG organizan eventos, fomentan las conexiones y crean espacios donde las personas aprenden y crecen juntas.

    Conviértete en líder de HUG

Create custom event via API

cat_crash
Miembro

Hi, 

is any way to create a custom event via API ? 

 

Also, struggle with creating an event via the web interface (for integration dev. purposes). It's require Marketing Hub Enterprise subscription but I'm a developer and it looks like overkill to have such subscription just for the app testing/development. 

 

Any ideas? 

1 Soluciones aceptada
IsaacTakushi
Solución
HubSpot Employee
HubSpot Employee

Welcome, @cat_crash.

 

Yes, you can create custom events by triggering an event and setting the event ID property (_n) to a string name (e.g. new_custom_event). As mentioned in the Event IDs and names section of this documentation:

 

You can also trigger an event using a string name for the event. If you use a name, and there is not an existing event that already has that name, a new event with that name will be dynamically created.

 

If you need access to an Enterprise subscription for development purposes, spin up a developer account here and then create a test account. Test accounts have renewable Enterprise-level features, including access to the Events API.

Isaac Takushi

Associate Certification Manager

Ver la solución en mensaje original publicado

1 Respuesta 1
IsaacTakushi
Solución
HubSpot Employee
HubSpot Employee

Welcome, @cat_crash.

 

Yes, you can create custom events by triggering an event and setting the event ID property (_n) to a string name (e.g. new_custom_event). As mentioned in the Event IDs and names section of this documentation:

 

You can also trigger an event using a string name for the event. If you use a name, and there is not an existing event that already has that name, a new event with that name will be dynamically created.

 

If you need access to an Enterprise subscription for development purposes, spin up a developer account here and then create a test account. Test accounts have renewable Enterprise-level features, including access to the Events API.

Isaac Takushi

Associate Certification Manager