HubSpot · JSON Structure

Hubspot Engagement Notes Association Input Structure

Association to create with another object

Type: object Properties: 2 Required: 2
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

AssociationInput is a JSON Structure definition published by HubSpot, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

to types

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "Association to create with another object",
  "name": "AssociationInput",
  "properties": {
    "to": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The ID of the object to associate with"
        }
      },
      "required": [
        "id"
      ]
    },
    "types": {
      "type": "array",
      "description": "The association types",
      "items": {
        "type": "object",
        "description": "Type of association",
        "properties": {
          "associationCategory": {
            "type": "string",
            "description": "The category of association",
            "enum": [
              "HUBSPOT_DEFINED",
              "USER_DEFINED",
              "INTEGRATOR_DEFINED"
            ]
          },
          "associationTypeId": {
            "type": "integer",
            "description": "The association type ID"
          }
        },
        "required": [
          "associationCategory",
          "associationTypeId"
        ]
      }
    }
  },
  "required": [
    "to",
    "types"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}