HubSpot · JSON Structure

Custom Workflow Actions Api Action Definition Revision Collection Structure

A paginated collection of action definition revisions

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

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

Properties

results paging

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/custom-workflow-actions-api-action-definition-revision-collection-structure.json",
  "name": "ActionDefinitionRevisionCollection",
  "description": "A paginated collection of action definition revisions",
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "description": "List of revisions",
      "items": {
        "type": "object",
        "description": "A revision of an action definition",
        "required": [
          "revisionId",
          "definition",
          "createdAt"
        ],
        "properties": {
          "revisionId": {
            "type": "string",
            "description": "The unique identifier of the revision",
            "example": "500123"
          },
          "definition": {
            "$ref": "#/components/schemas/ActionDefinition"
          },
          "createdAt": {
            "type": "datetime",
            "description": "When the revision was created",
            "example": "2025-03-15T14:30:00Z"
          }
        }
      },
      "example": [
        {
          "revisionId": "500123",
          "definition": {},
          "createdAt": "2025-03-15T14:30:00Z"
        }
      ]
    },
    "paging": {
      "type": "object",
      "description": "Pagination information",
      "properties": {
        "next": {
          "type": "object",
          "properties": {
            "after": {
              "type": "string",
              "description": "Cursor for the next page"
            }
          },
          "example": {
            "after": "example-value"
          }
        }
      }
    }
  },
  "required": [
    "results"
  ]
}