cURL
curl --request GET \ --url 'https://api.hubapi.com/automation/v4/actions/{appId}/{definitionId}?hapikey='
{ "actionUrl": "<string>", "functions": [ { "functionType": "POST_ACTION_EXECUTION", "id": "<string>" } ], "id": "<string>", "inputFields": [ { "isRequired": true, "typeDefinition": { "externalOptions": true, "name": "<string>", "options": [ { "description": "<string>", "displayOrder": 123, "doubleData": 123, "hidden": true, "label": "<string>", "readOnly": true, "value": "<string>" } ], "type": "bool", "description": "<string>", "externalOptionsReferenceType": "<string>", "fieldType": "booleancheckbox", "helpText": "<string>", "label": "<string>", "optionsUrl": "<string>", "referencedObjectType": "ABANDONED_CART" }, "automationFieldType": "<string>", "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>" } ], "type": "bool", "description": "<string>", "externalOptionsReferenceType": "<string>", "fieldType": "booleancheckbox", "helpText": "<string>", "label": "<string>", "optionsUrl": "<string>", "referencedObjectType": "ABANDONED_CART" } } ] }
Retrieve a custom workflow action definition by ID.
Supported products
The ID of the app.
The ID of the custom action.
Whether to return only results that have been archived.
successful operation
Show child attributes
Was this page helpful?