Check for the existence of analytics data for an object type

GET /analytics/v2/reports/:objectType/exists

Method Details

HTTP Methods:

GET

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Marketing

Required Scope:

business-intelligence

Check to see if there is analytics data for a specified object type. This can be used to perform a simple, quick check to see if a HubSpot account has any analytics data for the specified object type.

The response is a simple "exists": true if there is data, or "exists": false if there is no data for the object type.

Required Parameters How to use Description
OAuth Access Token or API Key Authorization: Bearer {token} header or hapikey={key} query parameter. Used to authenticate the request. Please see this page for more details about authentication.
Object Type  :objectType
Used in the request URL
The object type that you want to check for analytics data. See the table below for the supported object types.

Supported object types

Object type Description
event-completions Data for analytics events.
forms Data for HubSpot forms.
pages Data for individual URLs, collected by the HubSpot tracking code.
social-assists Data for messages published through the social publishing tools.
landing-pages Data for HubSpot hosted landing pages.
standard-pages Data for HubSpot hosted website pages.
blog-posts Data for HubSpot hosted blog posts.
listing-pages Data for HubSpot blog listing pages.
knowledge-articles Data for HubSpot knowledge base articles.