HubSpot · JSON Structure

Crm Contacts Api Filter Structure

A single filter condition.

Type: object Properties: 3
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

Filter is a JSON Structure definition published by HubSpot, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

propertyName operator value

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-structure/crm-contacts-api-filter-structure.json",
  "name": "Filter",
  "description": "A single filter condition.",
  "type": "object",
  "properties": {
    "propertyName": {
      "type": "string",
      "description": "The name of the property to filter on.",
      "example": "Example Record"
    },
    "operator": {
      "type": "string",
      "enum": [
        "EQ",
        "NEQ",
        "LT",
        "LTE",
        "GT",
        "GTE",
        "BETWEEN",
        "IN",
        "NOT_IN",
        "HAS_PROPERTY",
        "NOT_HAS_PROPERTY",
        "CONTAINS_TOKEN",
        "NOT_CONTAINS_TOKEN"
      ],
      "description": "The filter operator.",
      "example": "EQ"
    },
    "value": {
      "type": "string",
      "description": "The value to compare against.",
      "example": "example-value"
    }
  }
}