calls_create
Create and log new call records with details such as call title, body, direction, status, and duration, ensuring accurate tracking and associations in HubSpot CRM.
Instructions
Create a new call record
Input Schema
Name | Required | Description | Default |
---|---|---|---|
associations | No | ||
properties | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"associations": {
"items": {
"additionalProperties": false,
"properties": {
"to": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"types": {
"items": {
"additionalProperties": false,
"properties": {
"associationCategory": {
"type": "string"
},
"associationTypeId": {
"type": "number"
}
},
"required": [
"associationCategory",
"associationTypeId"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"to",
"types"
],
"type": "object"
},
"type": "array"
},
"properties": {
"additionalProperties": {},
"properties": {
"hs_call_body": {
"type": "string"
},
"hs_call_direction": {
"enum": [
"INBOUND",
"OUTBOUND"
],
"type": "string"
},
"hs_call_disposition": {
"type": "string"
},
"hs_call_duration": {
"type": "number"
},
"hs_call_recording_url": {
"format": "uri",
"type": "string"
},
"hs_call_status": {
"enum": [
"SCHEDULED",
"COMPLETED",
"CANCELED",
"NO_ANSWER"
],
"type": "string"
},
"hs_call_title": {
"type": "string"
},
"hs_timestamp": {
"type": "string"
},
"hubspot_owner_id": {
"type": "string"
}
},
"required": [
"hs_call_body",
"hs_call_title"
],
"type": "object"
}
},
"required": [
"properties"
],
"type": "object"
}