HubSpot · JSON Structure

Crm Associations Api Association Label Structure

A label that can be applied to associations

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

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

Properties

typeId label category

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-label-structure.json",
  "name": "AssociationLabel",
  "description": "A label that can be applied to associations",
  "type": "object",
  "properties": {
    "typeId": {
      "type": "int32",
      "description": "Numeric identifier for the label type",
      "example": 500123
    },
    "label": {
      "type": "string",
      "description": "Display text for the label",
      "example": "Example Record"
    },
    "category": {
      "type": "string",
      "enum": [
        "HUBSPOT_DEFINED",
        "USER_DEFINED",
        "INTEGRATOR_DEFINED"
      ],
      "description": "Category of the label",
      "example": "HUBSPOT_DEFINED"
    }
  },
  "required": [
    "typeId",
    "label",
    "category"
  ]
}