There's a new version of the HubSpot API

We're also working on a new documentation website, you're invited to check it out and give us your feedback.

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.