Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

HubSpot Association Type Definitions API

Retrieve and manage association type definitions across object types

HubSpot Association Type Definitions API is one of 93 APIs that HubSpot publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 652 JSON Schema definitions.

Tagged areas include Association Type Definitions. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, code examples, and 652 JSON Schemas.

This API exposes 1 operation across 1 path, and defines 6 schemas. It is described by OpenAPI 3.1.0, at version 3.0.0.

Requests are made against a single base URL, https://api.hubapi.com.

1 operations 1 paths 6 schemas 1 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
3.0.0
Base URL
https://api.example.com
Authentication
OAuth 2.0
License
Resource Areas
1

Authentication & Security 1

HubSpot Association Type Definitions API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (OAuth2) using the authorizationCode flow, exposing 1 scope.

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 GET. Each is listed below with its method, path, parameters, and response codes.

Association Type Definitions 1

Retrieve and manage association type definitions across object types

GET
/crm/v4/associations/definitions
Hubspot List All Association Definitions
listAssociationDefinitions → 200default

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are AssociationDefinition (7 properties), Error (7 properties), ErrorDetail (5 properties), PagingNext (2 properties). Each schema is shown below with its type and property counts.

ErrorDetail
object
Details about a specific error
5 properties 1 required
Error
object
Standard error response
7 properties 3 required
AssociationDefinition
object
Definition of an association type between two object types
7 properties 3 required
Paging
object
Pagination information
1 property
AssociationDefinitionCollection
object
Collection of association definitions
2 properties 1 required
PagingNext
object
Pagination cursor for next page
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

hubspot-association-type-definitions-api-openapi.yml Raw ↑

Other APIs HubSpot publishes across the network.

HubSpot Posts API
HubSpot URL Redirects API
HubSpot Pipelines API
HubSpot Products API
HubSpot Line Items API
HubSpot Quotes API
HubSpot CRM Properties API
HubSpot Owners API
HubSpot CRM Imports API
HubSpot Custom Objects API
HubSpot Marketing Events API
HubSpot Forms API