Zum Hauptinhalt springen
POST
/
automation
/
v4
/
actions
/
{appId}
/
{definitionId}
/
requires-object
Set the object requirement for a custom action definition.
curl --request POST \
  --url 'https://api.hubapi.com/automation/v4/actions/{appId}/{definitionId}/requires-object?hapikey=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "requiresObject": true
}
'
This response has no body data.

Supported products

Autorisierungen

hapikey
string
query
erforderlich

Pfadparameter

appId
integer<int32>
erforderlich
definitionId
string
erforderlich

Body

application/json
requiresObject
boolean
erforderlich

Indicates whether a custom action definition requires an associated object.

Antwort

Last modified on April 9, 2026