Skip to main content
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 \
  --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

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

appId
integer<int32>
required
definitionId
string
required

Body

application/json
requiresObject
boolean
required

Indicates whether a custom action definition requires an associated object.

Response

Last modified on March 30, 2026