{
"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 orders in the CRM using various filters and sorting options to retrieve specific order data.
Search for CRM objects of a specified type using various filters and criteria. This endpoint allows you to retrieve objects based on specific properties and conditions, providing flexibility in querying your CRM data. The search results include the total number of objects matching the criteria.
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 of the last successfully read resource. This token is used for pagination to retrieve the next set of results.
filterGroups
object[]
required
An array of filter groups used to specify the search criteria. Each filter group contains multiple filters that define the conditions for the search.
Show child attributes
limit
integer<int32>
required
An integer specifying the maximum number of results to return. This value controls the page size of the search results.
properties
string[]
required
An array of strings specifying the properties to be returned in the search results. If a specified property is not present on the requested object(s), it will be ignored.
sorts
string[]
required
An array of strings that define the sorting order of the search results. Each string specifies a property to sort by, optionally followed by a direction (e.g., 'propertyName ASC').
query
string
A string used to perform a full-text search across the specified properties.
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 containing the simple public objects returned in the current response.
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.