# Sending data with custom events via HTTP API

**URL:** <https://community.hubspot.com/t/sending-data-with-custom-events-via-http-api/23285>\
**Category:** APIs & Integrations\
**Tags:** events\
**Created:** [July 23, 2020, 1:38am UTC](https://community.hubspot.com/t/sending-data-with-custom-events-via-http-api/23285 "2020-07-23T01:38:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sonamc](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sonamc/32/39641_2.png) [@sonamc](https://community.hubspot.com/u/sonamc)\
**Post date:** [July 23, 2020, 1:38am UTC](https://community.hubspot.com/t/sending-data-with-custom-events-via-http-api/23285/1 "2020-07-23T01:38:14Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![WendyGoh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wendygoh/32/42320_2.png) [@WendyGoh](https://community.hubspot.com/u/WendyGoh)\
**Post date:** [July 24, 2020, 5:58am UTC](https://community.hubspot.com/t/sending-data-with-custom-events-via-http-api/23285/2 "2020-07-24T05:58:33Z")

</div>

Hey @sonamc,

Are you referring to this function: [Events HTTP API | Enterprise Events API](https://legacydocs.hubspot.com/docs/methods/enterprise_events/http_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](https://legacydocs.hubspot.com/docs/methods/tracking_code_api/javascript_events_api), it is not possible to send custom property.

---

<div class="post-metadata">

**Author:** ![sonamc](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sonamc/32/39641_2.png) [@sonamc](https://community.hubspot.com/u/sonamc)\
**Post date:** [July 27, 2020, 12:42am UTC](https://community.hubspot.com/t/sending-data-with-custom-events-via-http-api/23285/3 "2020-07-27T00:42:54Z")

</div>

Thanks, that was a great help.
