AssociationResult
Result of an association query
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationSales
Properties
| Name |
Type |
Description |
| from |
object |
Reference to a CRM object by ID |
| to |
array |
Associated objects |
| paging |
object |
Pagination information |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-schema/crm-associations-api-association-result-schema.json",
"title": "AssociationResult",
"description": "Result of an association query",
"type": "object",
"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": "array",
"items": {
"type": "object",
"description": "Represents an association between two CRM objects",
"properties": {
"toObjectId": {
"type": "string",
"description": "ID of the target object",
"example": "500123"
},
"associationTypes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AssociationType"
},
"description": "Types of associations between the objects",
"example": [
{
"associationCategory": "HUBSPOT_DEFINED",
"associationTypeId": 500123,
"label": "Example Record"
}
]
}
},
"required": [
"toObjectId",
"associationTypes"
]
},
"description": "Associated objects",
"example": [
{
"toObjectId": "500123",
"associationTypes": [
{
"associationCategory": "HUBSPOT_DEFINED",
"associationTypeId": 500123,
"label": "Example Record"
}
]
}
]
},
"paging": {
"type": "object",
"description": "Pagination information",
"properties": {
"next": {
"type": "object",
"description": "Pagination cursor for next page",
"properties": {
"after": {
"type": "string",
"description": "Cursor token for the next page",
"example": "example-value"
},
"link": {
"type": "string",
"description": "Link to the next page",
"example": "https://app.hubspot.com/contacts/12345"
}
}
}
}
}
},
"required": [
"from",
"to"
]
}
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/crm-associations-api-association-result"
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.