HubSpot · Schema

CallSearchResponse

Search results for calls

AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

Properties

Name Type Description
total integer Total number of matching calls
results array The matching calls
paging object Pagination information
View JSON Schema on GitHub

JSON Schema

engagement-calls-api-call-search-response-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-call-search-response-schema.json",
  "title": "CallSearchResponse",
  "description": "Search results for calls",
  "type": "object",
  "properties": {
    "total": {
      "type": "integer",
      "description": "Total number of matching calls",
      "example": 25
    },
    "results": {
      "type": "array",
      "description": "The matching calls",
      "items": {
        "type": "object",
        "description": "Represents a call engagement in the CRM",
        "required": [
          "id",
          "properties",
          "createdAt",
          "updatedAt",
          "archived"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "The unique identifier for the call",
            "example": "512"
          },
          "properties": {
            "type": "object",
            "description": "The call properties",
            "additionalProperties": {
              "type": "string"
            },
            "example": {
              "hs_call_title": "Discovery Call",
              "hs_call_body": "Discussed product requirements",
              "hs_call_duration": "1800000",
              "hs_call_direction": "OUTBOUND",
              "hs_call_disposition": "connected",
              "hs_call_status": "COMPLETED",
              "hs_timestamp": "2024-01-15T10:30:00.000Z"
            }
          },
          "propertiesWithHistory": {
            "type": "object",
            "description": "Properties with their change history",
            "additionalProperties": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/PropertyHistory"
              }
            },
            "example": {
              "key": "value"
            }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the call was created",
            "example": "2024-01-15T10:30:00.000Z"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the call was last updated",
            "example": "2024-01-15T11:00:00.000Z"
          },
          "archived": {
            "type": "boolean",
            "description": "Whether the call is archived",
            "example": false
          },
          "archivedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the call was archived (if archived)",
            "example": "2025-03-15T14:30:00Z"
          }
        }
      },
      "example": [
        {
          "id": "512",
          "properties": {
            "hs_call_title": "Discovery Call",
            "hs_call_body": "Discussed product requirements",
            "hs_call_duration": "1800000",
            "hs_call_direction": "OUTBOUND",
            "hs_call_disposition": "connected",
            "hs_call_status": "COMPLETED",
            "hs_timestamp": "2024-01-15T10:30:00.000Z"
          },
          "propertiesWithHistory": {
            "key": "value"
          },
          "createdAt": "2024-01-15T10:30:00.000Z",
          "updatedAt": "2024-01-15T11:00:00.000Z",
          "archived": false,
          "archivedAt": "2025-03-15T14:30:00Z"
        }
      ]
    },
    "paging": {
      "type": "object",
      "description": "Pagination information",
      "properties": {
        "next": {
          "type": "object",
          "description": "Information about the next page",
          "required": [
            "after"
          ],
          "properties": {
            "after": {
              "type": "string",
              "description": "Cursor for the next page",
              "example": "NTI1Cg%3D%3D"
            },
            "link": {
              "type": "string",
              "description": "Link to the next page",
              "example": "https://app.hubspot.com/contacts/12345"
            }
          }
        }
      }
    }
  },
  "required": [
    "total",
    "results"
  ]
}