Sending data with custom events via HTTP API

SOLVE
sonamc
Member

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 Upvotes
2 Accepted solutions

Accepted Solutions
WendyGoh
Solution
HubSpot Employee

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. 

View solution in original post

0 Upvotes
sonamc
Solution
Member

Thanks, that was a great help.

View solution in original post

0 Upvotes
2 Replies 2
WendyGoh
Solution
HubSpot Employee

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. 

View solution in original post

0 Upvotes
sonamc
Solution
Member

Thanks, that was a great help.

View solution in original post

0 Upvotes