APIs & Integrations

kajalna
Member

API response of Events

For Events object as per mentioned on API docs http://developers.hubspot.com/docs/methods/enterprise_events/http_api
"The response will have a status code of 200 with no data in the body. The content-type will be image/gif, so it is possible to use HTTP API urls with tags, though we recommend using the JavaScript API on web pages when possible."
How to get response for events if we don’t want it to be blank or image format.
How to populate data in events if created through UI and further get this data in response JSON ?

0 Upvotes
1 Reply 1
Dadams
HubSpot Employee
HubSpot Employee

API response of Events

Hi @kajalna

The Events API is effectively write only, so it can only be used to trigger that an event happened. There are no options to use a different return type, and we don’t have a get to get data for event completions.

0 Upvotes