There's a new version of the HubSpot API

Starting November 30, 2022, API keys will be sunset as an authentication method. Learn more about this change and how to migrate an API key integration to use a private app instead.

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.