HubSpotResourceClient is a specialized client for interacting with the HubSpot API, providing a convenient way to access CRM objects and other HubSpot features.
Usage
Search API
The HubSpot Search API allows you to query CRM objects with filtering, sorting, and pagination. Search has stricter rate limits than other API methods.Rate Limits
- Search API: 5 requests per second (much stricter than general API rate limit)
- General API: 100 requests per 10 seconds
Basic search
Filter operators
Date formatting
For date properties, use ISO 8601 format (YYYY-MM-DD) or Unix timestamps (milliseconds):
Pagination
Use theafter parameter for cursor-based pagination:
paginationCursor field if more results are available.
Inputs
Theinvoke method accepts the following arguments:
string
required
The HTTP method to use:
"GET", "POST", "PUT", "PATCH", or "DELETE".string
required
The HubSpot API path (e.g.,
/crm/v3/objects/contacts).string
required
A unique identifier for this operation.
object
Optional configuration object.
Outputs
The output format is the same as the Custom API client."api"
Discriminator for the response type.
number
The HTTP status code.
ResponseBody
The response body (typically JSON).