Zum Hauptinhalt springen
POST
/
crm
/
objects
/
2025-09
/
{objectType}
/
search
cURL
curl --request POST \
  --url https://api.hubapi.com/crm/objects/2025-09/{objectType}/search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "after": "<string>",
  "filterGroups": [
    {
      "filters": [
        {
          "operator": "BETWEEN",
          "propertyName": "<string>",
          "highValue": "<string>",
          "value": "<string>",
          "values": [
            "<string>"
          ]
        }
      ]
    }
  ],
  "limit": 123,
  "properties": [
    "<string>"
  ],
  "sorts": [
    "<string>"
  ],
  "query": "<string>"
}
'
{
  "results": [
    {
      "archived": true,
      "createdAt": "2023-11-07T05:31:56Z",
      "id": "<string>",
      "properties": {},
      "updatedAt": "2023-11-07T05:31:56Z",
      "archivedAt": "2023-11-07T05:31:56Z",
      "objectWriteTraceId": "<string>",
      "propertiesWithHistory": {},
      "url": "<string>"
    }
  ],
  "total": 123,
  "paging": {
    "next": {
      "after": "<string>",
      "link": "<string>"
    },
    "prev": {
      "before": "<string>",
      "link": "<string>"
    }
  }
}

Unterstützte Produkte

Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing Hub -Kostenlos
Sales HubSales Hub -Kostenlos
Service HubService Hub -Kostenlos
Content HubContent Hub -Kostenlos

Autorisierungen

Authorization
string
header
erforderlich

The access token received from the authorization server in the OAuth 2.0 flow.

Pfadparameter

objectType
string
erforderlich

Body

application/json

Describes a search request

after
string
erforderlich

A paging cursor token for retrieving subsequent pages.

filterGroups
object[]
erforderlich

Up to 6 groups of filters defining additional query criteria.

limit
integer<int32>
erforderlich

The maximum results to return, up to 200 objects.

properties
string[]
erforderlich

A list of property names to include in the response.

sorts
string[]
erforderlich

Specifies sorting order based on object properties.

query
string

The search query string, up to 3000 characters.

Antwort

successful operation

results
object[]
erforderlich
total
integer<int32>
erforderlich

Die Gesamtanzahl der Objekte in der Filtergruppe.

paging
object
Last modified on December 9, 2025