APIs & Integrations

sonamc
Membro

Sending data with custom events via HTTP API

resolver

Hi,
Is it possible to send values with custom events via HTTP API? For example I need to track score and want to send values like  {id: 'score', value: 4}, how do I go about it?

0 Avaliação positiva
2 Solução aceitas
WendyGoh
Solução
HubSpot Employee
HubSpot Employee

Sending data with custom events via HTTP API

resolver

Hey @sonamc,

 

Are you referring to this function: Events HTTP API | Enterprise Events API? If so, you can send custom contact property via the query parameter i.e. &propertyName=propertyValue

 

However, if you're using this function Events JavaScript API, it is not possible to send custom property. 

Exibir solução no post original

0 Avaliação positiva
sonamc
Solução
Membro

Sending data with custom events via HTTP API

resolver

Thanks, that was a great help.

Exibir solução no post original

0 Avaliação positiva
2 Respostas 2
WendyGoh
Solução
HubSpot Employee
HubSpot Employee

Sending data with custom events via HTTP API

resolver

Hey @sonamc,

 

Are you referring to this function: Events HTTP API | Enterprise Events API? If so, you can send custom contact property via the query parameter i.e. &propertyName=propertyValue

 

However, if you're using this function Events JavaScript API, it is not possible to send custom property. 

0 Avaliação positiva
sonamc
Solução
Membro

Sending data with custom events via HTTP API

resolver

Thanks, that was a great help.

0 Avaliação positiva