HubSpot · JSON Structure

Cms Hubdb Api Hub Dbtable Create Request Structure

Request body for creating or updating a HubDB table.

Type: object Properties: 3 Required: 2
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

HubDBTableCreateRequest is a JSON Structure definition published by HubSpot, describing 3 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

name label columns

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/cms-hubdb-api-hub-dbtable-create-request-structure.json",
  "name": "HubDBTableCreateRequest",
  "description": "Request body for creating or updating a HubDB table.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The machine-readable name of the table.",
      "example": "Example Record"
    },
    "label": {
      "type": "string",
      "description": "The human-readable label for the table.",
      "example": "Example Record"
    },
    "columns": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        }
      },
      "example": [
        {
          "name": "Example Record",
          "label": "Example Record",
          "type": "standard"
        }
      ]
    }
  },
  "required": [
    "name",
    "label"
  ]
}