HubSpot · Schema

BatchAssociationCreateInput

Input for batch creating associations

AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationSales

Properties

Name Type Description
inputs array Associations to create
View JSON Schema on GitHub

JSON Schema

hubspot-crm-associations-batch-association-create-input-schema.json Raw ↑
{
  "type": "object",
  "description": "Input for batch creating associations",
  "properties": {
    "inputs": {
      "type": "array",
      "description": "Associations to create",
      "example": [
        {
          "from": {},
          "to": {},
          "types": [
            {}
          ]
        }
      ],
      "items": {
        "type": "object",
        "description": "Single item in a batch association create request",
        "properties": {
          "from": {
            "type": "object",
            "description": "Reference to a CRM object by ID",
            "properties": {
              "id": {
                "type": "string",
                "description": "ID of the object",
                "example": "500123"
              }
            },
            "required": [
              "id"
            ]
          },
          "to": {
            "type": "object",
            "description": "Reference to a CRM object by ID",
            "properties": {
              "id": {
                "type": "string",
                "description": "ID of the object",
                "example": "500123"
              }
            },
            "required": [
              "id"
            ]
          },
          "types": {
            "type": "array",
            "example": [
              {
                "associationCategory": "HUBSPOT_DEFINED",
                "associationTypeId": 500123
              }
            ],
            "items": {
              "type": "object",
              "description": "Input for specifying an association type",
              "properties": {
                "associationCategory": {
                  "type": "string",
                  "example": "HUBSPOT_DEFINED",
                  "enum": [
                    "HUBSPOT_DEFINED",
                    "USER_DEFINED",
                    "INTEGRATOR_DEFINED"
                  ]
                },
                "associationTypeId": {
                  "type": "integer",
                  "example": 500123
                }
              },
              "required": [
                "associationCategory",
                "associationTypeId"
              ]
            }
          }
        },
        "required": [
          "from",
          "to",
          "types"
        ]
      }
    }
  },
  "required": [
    "inputs"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "BatchAssociationCreateInput"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/hubspot-crm-associations-batch-association-create-input"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.