Reminder: As of August 9th, the demo API key will only be allowed to make GET requests. Please see the announcement for more details.

Get all analytics views

Last updated June 24, 2019

GET /analytics/v2/views

Method Details

HTTP Methods:

GET

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Marketing

Required Scope:

business-intelligence

Get the details for the analytics views set up in the portal. The id of a view can be used to filter the data from the Analytics API endpoints using the filterId= query parameter.

Note: Access to the data from this endpoint will require a Marketing Hub Professional or Enterprise subscription. Please see the overview page for more details.

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.