HubSpot · Schema
CallCreateRequest
Request body for creating a call
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales
Properties
| Name | Type | Description |
|---|---|---|
| properties | object | The call properties to set |
| associations | array | Associations to create with other objects |
JSON Schema
{
"type": "object",
"description": "Request body for creating a call",
"properties": {
"properties": {
"type": "object",
"description": "The call properties to set",
"example": {
"hs_call_title": "Discovery Call",
"hs_call_body": "Discussed product requirements",
"hs_call_duration": "1800000",
"hs_call_direction": "OUTBOUND",
"hs_timestamp": "2024-01-15T10:30:00.000Z"
}
},
"associations": {
"type": "array",
"description": "Associations to create with other objects",
"example": [
{
"to": {
"id": {}
},
"types": [
{}
]
}
],
"items": {
"type": "object",
"description": "Association to create with another object",
"properties": {
"to": {
"type": "object",
"example": {
"id": "101"
},
"properties": {
"id": {
"type": "string",
"description": "The ID of the object to associate with",
"example": "101"
}
},
"required": [
"id"
]
},
"types": {
"type": "array",
"description": "The association types",
"example": [
{
"associationCategory": "HUBSPOT_DEFINED",
"associationTypeId": 194
}
],
"items": {
"type": "object",
"description": "Type of association",
"properties": {
"associationCategory": {
"type": "string",
"description": "The category of association",
"example": "HUBSPOT_DEFINED",
"enum": [
"HUBSPOT_DEFINED",
"USER_DEFINED",
"INTEGRATOR_DEFINED"
]
},
"associationTypeId": {
"type": "integer",
"description": "The association type ID",
"example": 194
}
},
"required": [
"associationCategory",
"associationTypeId"
]
}
}
},
"required": [
"to",
"types"
]
}
}
},
"required": [
"properties"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "CallCreateRequest"
}