HubSpot · JSON Structure

Engagement Calls Api Batch Create Calls Request Structure

Request body for batch creating calls

Type: object Properties: 1 Required: 1
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

BatchCreateCallsRequest is a JSON Structure definition published by HubSpot, describing 1 property, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

inputs

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-structure/engagement-calls-api-batch-create-calls-request-structure.json",
  "name": "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"
  ]
}