{
"message": "Invalid input (details will vary based on the error)",
"correlationId": "aeb5f871-7f07-4993-9211-075dc63e7cbf",
"category": "VALIDATION_ERROR",
"links": {
"knowledge-base": "https://www.hubspot.com/products/service/knowledge-base"
}
}
Search
Search for messages
Search for CRM objects of a specified type using the provided search criteria. This endpoint allows you to filter and sort the results based on various properties and conditions. It is useful for retrieving specific objects that match your search parameters.
The access token received from the authorization server in the OAuth 2.0 flow.
Scopes
crm.objects.tickets.write
crm.objects.tickets.read
crm.objects.deals.read
crm.objects.services.read
crm.objects.subscriptions.read
crm.objects.tickets.sensitive.read
crm.objects.orders.read
crm.objects.listings.write
crm.objects.custom.read
crm.objects.companies.write
crm.objects.custom.sensitive.write.v2
crm.objects.tasks.read
crm.objects.custom.highly_sensitive.write.v2
crm.objects.companies.read
crm.objects.appointments.sensitive.read.v2
crm.objects.contacts.highly_sensitive.read.v2
crm.objects.forecasts.read
crm.objects.tickets.highly_sensitive.read
crm.objects.companies.sensitive.read.v2
crm.objects.tickets.sensitive.write
media_bridge.read
crm.objects.deals.highly_sensitive.read.v2
crm.objects.contacts.highly_sensitive.write.v2
crm.objects.contracts.read
crm.objects.companies.highly_sensitive.read.v2
crm.objects.commercepayments.write
crm.objects.invoices.write
crm.objects.contacts.sensitive.write.v2
crm.objects.calls.read
crm.objects.users.write
crm.objects.custom.sensitive.read.v2
crm.objects.meetings.read
crm.objects.users.read
crm.objects.orders.write
crm.objects.partner-services.read
crm.objects.partner-services.write
crm.objects.appointments.write
crm.objects.projects.highly_sensitive.write
crm.objects.carts.write
crm.objects.tickets.highly_sensitive.write
crm.objects.tasks.write
crm.objects.commercepayments.read
revenue.contracts.read
crm.objects.feedback_submissions.read
crm.objects.products.write
crm.objects.services.write
crm.objects.emails.write
crm.objects.subscriptions.write
crm.objects.deals.sensitive.write.v2
crm.objects.contacts.read
crm.objects.appointments.sensitive.write.v2
cpq.price_books.read
crm.objects.meetings.write
crm.objects.invoices.read
crm.objects.projects.highly_sensitive.read
crm.objects.custom.write
crm.objects.notes.write
tickets.sensitive.v2
crm.objects.deals.write
e-commerce
crm.objects.appointments.read
crm.objects.companies.sensitive.write.v2
crm.objects.projects.read
crm.objects.companies.highly_sensitive.write.v2
crm.objects.custom.highly_sensitive.read.v2
crm.objects.deals.highly_sensitive.write.v2
crm.objects.calls.write
crm.objects.goals.write
crm.objects.line_items.write
crm.objects.projects.sensitive.read
crm.objects.contacts.write
crm.objects.goals.read
crm.objects.line_items.read
crm.objects.partner-clients.write
crm.objects.projects.write
crm.objects.deals.sensitive.read.v2
crm.objects.projects.sensitive.write
crm.objects.quotes.write
tickets.highly_sensitive.v2
crm.objects.leads.read
crm.objects.leads.write
crm.objects.carts.read
crm.objects.emails.read
crm.objects.courses.write
crm.objects.quotes.read
crm.objects.partner-clients.read
crm.objects.courses.read
crm.objects.notes.read
crm.objects.listings.read
crm.objects.contacts.sensitive.read.v2
crm.objects.products.read
oauth
Body
application/json
Describes a search request
after
string
required
A string representing the paging cursor token to retrieve the next set of results after the current page.
filterGroups
object[]
required
An array of filter groups used to specify the criteria for the search. Each filter group contains multiple filters that are combined using logical AND.
Show child attributes
limit
integer<int32>
required
An integer specifying the maximum number of results to return. This value controls the size of the result set.
properties
string[]
required
An array of strings indicating which properties of the CRM objects should be included in the search results.
sorts
string[]
required
An array of strings specifying the sorting order of the search results. Each string represents a property to sort by, optionally prefixed with '-' for descending order.
query
string
A string representing a search query to filter the results based on specific terms.
Response
successful operation
Represents a list of simple objects returned from an API request, along with the total count of objects available.
results
object[]
required
An array of SimplePublicObject items, each representing an individual object in the collection.
Show child attributes
total
integer<int32>
required
The number of available results
paging
object
Represents the pagination information for navigating through a list of results in the API. It provides details on how to access the previous or next set of results.
Show child attributes
Last modified on November 16, 2026
Was this page helpful?
Assistant
Responses are generated using AI and may contain mistakes.