HubSpot · Schema

InputField

An input field for the action

AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationSales

Properties

Name Type Description
typeDefinition object Definition of a field's type and configuration
supportedValueTypes array The types of values that can be provided for this field
isRequired boolean Whether this field is required
View JSON Schema on GitHub

JSON Schema

custom-workflow-actions-api-input-field-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/custom-workflow-actions-api-input-field-schema.json",
  "title": "InputField",
  "description": "An input field for the action",
  "type": "object",
  "properties": {
    "typeDefinition": {
      "type": "object",
      "description": "Definition of a field's type and configuration",
      "required": [
        "name",
        "type"
      ],
      "properties": {
        "name": {
          "type": "string",
          "description": "The programmatic name of the field",
          "example": "Example Record"
        },
        "type": {
          "type": "string",
          "enum": [
            "STRING",
            "NUMBER",
            "BOOL",
            "DATE",
            "DATETIME",
            "ENUMERATION",
            "PHONE_NUMBER",
            "CURRENCY"
          ],
          "description": "The data type of the field",
          "example": "STRING"
        },
        "fieldType": {
          "type": "string",
          "enum": [
            "TEXT",
            "TEXTAREA",
            "NUMBER",
            "SELECT",
            "BOOLEANCHECKBOX",
            "DATE",
            "FILE"
          ],
          "description": "The UI field type for input",
          "example": "TEXT"
        },
        "label": {
          "type": "string",
          "description": "Human-readable label for the field",
          "example": "Example Record"
        },
        "description": {
          "type": "string",
          "description": "Description of the field",
          "example": "This is an example description."
        },
        "options": {
          "type": "array",
          "description": "Options for enumeration fields",
          "items": {
            "$ref": "#/components/schemas/FieldOption"
          },
          "example": [
            {
              "label": "Example Record",
              "value": "example-value",
              "displayOrder": 100
            }
          ]
        }
      }
    },
    "supportedValueTypes": {
      "type": "array",
      "description": "The types of values that can be provided for this field",
      "items": {
        "type": "string",
        "enum": [
          "STATIC_VALUE",
          "OBJECT_PROPERTY",
          "OUTPUT_FROM_PREVIOUS_ACTION"
        ]
      },
      "example": [
        "STATIC_VALUE"
      ]
    },
    "isRequired": {
      "type": "boolean",
      "description": "Whether this field is required",
      "example": true
    }
  },
  "required": [
    "typeDefinition",
    "supportedValueTypes"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/custom-workflow-actions-api-input-field"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.