APIs & Integrations

sonamc
Member

Sending data with custom events via HTTP API

SOLVE

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

Sending data with custom events via HTTP API

SOLVE

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

Sending data with custom events via HTTP API

SOLVE

Thanks, that was a great help.

View solution in original post

0 Upvotes
2 Replies 2
WendyGoh
Solution
HubSpot Employee
HubSpot Employee

Sending data with custom events via HTTP API

SOLVE

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

Sending data with custom events via HTTP API

SOLVE

Thanks, that was a great help.

0 Upvotes