• Live group demo of Marketing Hub + Data Agent

    Standardize reporting, reduce manual work, and introduce AI without cleanup

    Join us on March 12
  • Marketing that's efficient and human? That's Loop Marketing.

    Explore HubSpot Academy's 39-video playlist and put it into practice.

    Start learning

Sending data with custom events via HTTP API

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
WendyGoh
Solution
HubSpot Employee
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
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. 

0 Upvotes
sonamc
Solution
Member

Thanks, that was a great help.

0 Upvotes