Zum Hauptinhalt springen
GET
/
automation
/
v4
/
actions
/
{appId}
/
{definitionId}
/
revisions
/
{revisionId}
Eine spezifische Revision einer Definition abrufen
curl --request GET \
  --url 'https://api.hubapi.com/automation/v4/actions/{appId}/{definitionId}/revisions/{revisionId}?hapikey='
{
  "createdAt": "2023-11-07T05:31:56Z",
  "definition": {
    "actionUrl": "<string>",
    "functions": [
      {
        "functionType": "POST_ACTION_EXECUTION",
        "id": "<string>"
      }
    ],
    "id": "<string>",
    "inputFields": [
      {
        "isRequired": true,
        "typeDefinition": {
          "name": "<string>",
          "options": [
            {
              "label": "<string>",
              "value": "<string>",
              "description": "<string>",
              "displayOrder": 123
            }
          ],
          "type": "bool",
          "description": "<string>",
          "fieldType": "booleancheckbox",
          "helpText": "<string>",
          "label": "<string>",
          "optionsUrl": "<string>",
          "referencedObjectType": "OWNER"
        },
        "supportedValueTypes": [
          "STATIC_VALUE"
        ]
      }
    ],
    "labels": {},
    "objectTypes": [
      "<string>"
    ],
    "published": true,
    "revisionId": "<string>",
    "archivedAt": 123,
    "executionRules": [
      {
        "conditions": {},
        "labelName": "<string>"
      }
    ],
    "inputFieldDependencies": [
      {
        "controllingFieldName": "<string>",
        "dependencyType": "SINGLE_FIELD",
        "dependentFieldNames": [
          "<string>"
        ]
      }
    ],
    "objectRequestOptions": {
      "properties": [
        "<string>"
      ]
    },
    "outputFields": [
      {
        "typeDefinition": {
          "externalOptions": true,
          "name": "<string>",
          "options": [
            {
              "description": "<string>",
              "displayOrder": 123,
              "doubleData": 123,
              "hidden": true,
              "label": "<string>",
              "readOnly": true,
              "value": "<string>"
            }
          ],
          "schema": {
            "type": "INTEGER",
            "maximum": 123,
            "minimum": 123
          },
          "type": "bool",
          "useChirp": true,
          "description": "<string>",
          "externalOptionsReferenceType": "<string>",
          "fieldType": "booleancheckbox",
          "helpText": "<string>",
          "label": "<string>",
          "optionsUrl": "<string>",
          "referencedObjectType": "ABANDONED_CART"
        }
      }
    ]
  },
  "id": "<string>",
  "revisionId": "<string>"
}

Unterstützte Produkte

Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing Hub -Professional
Sales HubSales Hub -Professional
Service HubService Hub -Professional
Content HubContent Hub -Professional

Autorisierungen

hapikey
string
query
erforderlich

Pfadparameter

appId
integer<int32>
erforderlich
definitionId
string
erforderlich
revisionId
string
erforderlich

Antwort

successful operation

createdAt
string<date-time>
erforderlich

Der Zeitpunkt (Datum und Uhrzeit), zu dem die Aktionsrevision erstellt wurde.

definition
object
erforderlich
id
string
erforderlich

Die eindeutige ID für die Aktionsrevision.

revisionId
string
erforderlich

Die eindeutige ID für die spezifische Revision der Aktion.

Last modified on March 24, 2026