curl --request GET \
--url https://api.hubapi.com/automation/v4/actions/{appId}/{definitionId}/revisions
{
"paging": {
"next": {
"link": "",
"after": ""
}
},
"results": [
{
"revisionId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"definition": {
"functions": [
{
"functionType": "PRE_ACTION_EXECUTION",
"id": "<string>"
}
],
"actionUrl": "<string>",
"published": true,
"labels": {},
"inputFields": [
{
"isRequired": true,
"automationFieldType": "<string>",
"typeDefinition": {
"helpText": "<string>",
"referencedObjectType": "CONTACT",
"name": "<string>",
"options": [
{
"hidden": "<any>",
"displayOrder": "<any>",
"doubleData": "<any>",
"description": "<any>",
"readOnly": "<any>",
"label": "<any>",
"value": "<any>"
}
],
"description": "<string>",
"externalOptionsReferenceType": "<string>",
"label": "<string>",
"type": "string",
"fieldType": "booleancheckbox",
"optionsUrl": "<string>",
"externalOptions": true
},
"supportedValueTypes": [
"STATIC_VALUE"
]
}
],
"outputFields": [
{
"typeDefinition": {
"helpText": "<string>",
"referencedObjectType": "CONTACT",
"name": "<string>",
"options": [
{
"hidden": "<any>",
"displayOrder": "<any>",
"doubleData": "<any>",
"description": "<any>",
"readOnly": "<any>",
"label": "<any>",
"value": "<any>"
}
],
"description": "<string>",
"externalOptionsReferenceType": "<string>",
"label": "<string>",
"type": "string",
"fieldType": "booleancheckbox",
"optionsUrl": "<string>",
"externalOptions": true
}
}
],
"revisionId": "<string>",
"archivedAt": 123,
"inputFieldDependencies": [
{
"dependencyType": "SINGLE_FIELD",
"controllingFieldName": "<string>",
"dependentFieldNames": [
"<string>"
]
}
],
"executionRules": [
{
"labelName": "<string>",
"conditions": {}
}
],
"id": "<string>",
"objectTypes": [
"<string>"
],
"objectRequestOptions": {
"properties": [
"<string>"
]
}
},
"id": "<string>"
}
]
}
Retrieve the versions of a definition by ID.
curl --request GET \
--url https://api.hubapi.com/automation/v4/actions/{appId}/{definitionId}/revisions
{
"paging": {
"next": {
"link": "",
"after": ""
}
},
"results": [
{
"revisionId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"definition": {
"functions": [
{
"functionType": "PRE_ACTION_EXECUTION",
"id": "<string>"
}
],
"actionUrl": "<string>",
"published": true,
"labels": {},
"inputFields": [
{
"isRequired": true,
"automationFieldType": "<string>",
"typeDefinition": {
"helpText": "<string>",
"referencedObjectType": "CONTACT",
"name": "<string>",
"options": [
{
"hidden": "<any>",
"displayOrder": "<any>",
"doubleData": "<any>",
"description": "<any>",
"readOnly": "<any>",
"label": "<any>",
"value": "<any>"
}
],
"description": "<string>",
"externalOptionsReferenceType": "<string>",
"label": "<string>",
"type": "string",
"fieldType": "booleancheckbox",
"optionsUrl": "<string>",
"externalOptions": true
},
"supportedValueTypes": [
"STATIC_VALUE"
]
}
],
"outputFields": [
{
"typeDefinition": {
"helpText": "<string>",
"referencedObjectType": "CONTACT",
"name": "<string>",
"options": [
{
"hidden": "<any>",
"displayOrder": "<any>",
"doubleData": "<any>",
"description": "<any>",
"readOnly": "<any>",
"label": "<any>",
"value": "<any>"
}
],
"description": "<string>",
"externalOptionsReferenceType": "<string>",
"label": "<string>",
"type": "string",
"fieldType": "booleancheckbox",
"optionsUrl": "<string>",
"externalOptions": true
}
}
],
"revisionId": "<string>",
"archivedAt": 123,
"inputFieldDependencies": [
{
"dependencyType": "SINGLE_FIELD",
"controllingFieldName": "<string>",
"dependentFieldNames": [
"<string>"
]
}
],
"executionRules": [
{
"labelName": "<string>",
"conditions": {}
}
],
"id": "<string>",
"objectTypes": [
"<string>"
],
"objectRequestOptions": {
"properties": [
"<string>"
]
}
},
"id": "<string>"
}
]
}
The ID of the definition.
The ID of the app.
The maximum number of results to display per page.
The paging cursor token of the last successfully read resource will be returned as the paging.next.after
JSON property of a paged response containing more results.
successful operation
The response is of type object
.