{
  "opencollection": "1.0.0",
  "info": {
    "name": "HubSpot Analytics Events Access Tokens Batch Association Operations API",
    "version": "3.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Batch Association Operations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Hubspot Batch Read Associations for Multiple Objects",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.hubapi.com/crm/v4/associations/:fromObjectType/:toObjectType/batch/read",
            "params": [
              {
                "name": "fromObjectType",
                "value": "contacts",
                "type": "path",
                "description": "Type of source objects"
              },
              {
                "name": "toObjectType",
                "value": "companies",
                "type": "path",
                "description": "Type of target objects"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://app.hubspot.com/oauth/authorize",
              "accessTokenUrl": "https://api.hubapi.com/oauth/v1/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieves associations for multiple source objects in a single request.\nUseful for efficiently loading associations for a list of records.\n"
        },
        {
          "info": {
            "name": "Hubspot Batch Create Associations",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.hubapi.com/crm/v4/associations/:fromObjectType/:toObjectType/batch/create",
            "params": [
              {
                "name": "fromObjectType",
                "value": "contacts",
                "type": "path",
                "description": "Type of source objects"
              },
              {
                "name": "toObjectType",
                "value": "companies",
                "type": "path",
                "description": "Type of target objects"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://app.hubspot.com/oauth/authorize",
              "accessTokenUrl": "https://api.hubapi.com/oauth/v1/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Creates multiple associations in a single request.\nAllows efficient bulk creation of relationships between CRM objects.\n"
        },
        {
          "info": {
            "name": "Hubspot Batch Archive Associations",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.hubapi.com/crm/v4/associations/:fromObjectType/:toObjectType/batch/archive",
            "params": [
              {
                "name": "fromObjectType",
                "value": "contacts",
                "type": "path",
                "description": "Type of source objects"
              },
              {
                "name": "toObjectType",
                "value": "companies",
                "type": "path",
                "description": "Type of target objects"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://app.hubspot.com/oauth/authorize",
              "accessTokenUrl": "https://api.hubapi.com/oauth/v1/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Deletes multiple associations in a single request.\nEfficiently removes relationships between multiple CRM objects.\n"
        }
      ]
    }
  ],
  "bundled": true
}