curl --request POST \
--url https://api.hubapi.com/automation/v4/actions/{appId}/{definitionId}/requires-object \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"requiresObject": true
}
'This response has no body data.Set whether a custom action definition requires an object.
curl --request POST \
--url https://api.hubapi.com/automation/v4/actions/{appId}/{definitionId}/requires-object \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"requiresObject": true
}
'This response has no body data.Documentation Index
Fetch the complete documentation index at: https://developers.hubspot.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Supported products
The access token received from the authorization server in the OAuth 2.0 flow.
Indicates whether a custom action definition requires an associated object.
Was this page helpful?