There's a new version of the HubSpot API

As of November 30, 2022, HubSpot API keys are no longer a supported authentication method for accessing HubSpot APIs. Instead, you should use a private app access token or OAuth to authenticate API calls. Learn more about this change and how to migrate an API key integration to use a private app instead.

Get Event by ID

Last updated May 15, 2023

GET /reports/v2/events/:id

Method Details

HTTP Methods:

GET

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Marketing

Required Scope:

business-intelligence

Given an event ID, returns a specific event definition in a given portal. Events can be created in-app, or dynamically via the Tracking Code API

Required Parameters How to use Description
OAuth access token or private app access token Authorization: Bearer {token} header Used to authenticate the request. Please see this page for more details about authentication.
Event ID Used in the request URL (see above) The ID of the specific event you're looking to pull.

Optional Parameters How to use Description
Include deleted includeDeletes=true If specified as true, will return a deleted event. Otherwise, requesting deleted events by ID will return a 404.