There's a new version of the HubSpot API

As of November 30, 2022, HubSpot API Keys are being deprecated and are no longer supported. Continued use of HubSpot API Keys is a security risk to your account and data. Your API Keys could be deactivated at any time after Nov. 30th, and we recommend that you migrate to Private Apps as soon as possible so you do not lose business-critical functionality.

Get indexed properties

Last updated June 17, 2020

GET /contentsearch/v2/search/:documentId

Method Details

HTTP Methods:

GET

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Marketing

Required Scope:

content

For a given portal and document ID (page ID, blog post ID, HubDB row ID, etc.), return all indexed data for the document. This is useful when debugging why a particular document is not returned from a custom search.

Required Parameters How to use Description
Portal ID ?portalId= The ID of the portal the contact search should be performed against.
Type &type= The type of document. Can be one of SITE_PAGE, BLOG_POST, or KNOWLEDGE_ARTICLE.