HubSpot · JSON Structure

Crm Associations Api Association Type Structure

Defines the type of association

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

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

Properties

associationCategory associationTypeId label

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-associations-api-association-type-structure.json",
  "name": "AssociationType",
  "description": "Defines the type of association",
  "type": "object",
  "properties": {
    "associationCategory": {
      "type": "string",
      "enum": [
        "HUBSPOT_DEFINED",
        "USER_DEFINED",
        "INTEGRATOR_DEFINED"
      ],
      "description": "Category of the association type",
      "example": "HUBSPOT_DEFINED"
    },
    "associationTypeId": {
      "type": "int32",
      "description": "Numeric identifier for the association type",
      "example": 500123
    },
    "label": {
      "type": "string",
      "description": "Human-readable label for the association",
      "example": "Example Record"
    }
  },
  "required": [
    "associationCategory",
    "associationTypeId"
  ]
}