HubSpot · Schema

BatchCreateCallsRequest

Request body for batch creating calls

AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

Properties

Name Type Description
inputs array Array of calls to create
View JSON Schema on GitHub

JSON Schema

engagement-calls-api-batch-create-calls-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-schema/engagement-calls-api-batch-create-calls-request-schema.json",
  "title": "BatchCreateCallsRequest",
  "description": "Request body for batch creating calls",
  "type": "object",
  "properties": {
    "inputs": {
      "type": "array",
      "description": "Array of calls to create",
      "items": {
        "type": "object",
        "description": "Request body for creating a call",
        "required": [
          "properties"
        ],
        "properties": {
          "properties": {
            "type": "object",
            "description": "The call properties to set",
            "additionalProperties": {
              "type": "string"
            },
            "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",
            "items": {
              "$ref": "#/components/schemas/AssociationInput"
            },
            "example": [
              {
                "to": {
                  "id": {}
                },
                "types": [
                  {}
                ]
              }
            ]
          }
        }
      },
      "maxItems": 100,
      "example": [
        {
          "properties": {
            "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": [
            {
              "to": {
                "id": {}
              },
              "types": [
                {}
              ]
            }
          ]
        }
      ]
    }
  },
  "required": [
    "inputs"
  ]
}