Definitions

Set the object requirement for a custom action definition.

Changed on

Set whether a custom action definition requires an object.

post/automation/actions/2026-09/{appId}/{definitionId}/requires-object

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/automation/actions/2026-09/{appId}/{definitionId}/requires-object
  • Auth
    API key in query parameter hapikey

Path parameters

appIdinteger required

The unique identifier of the app associated with the extension definition.

definitionIdstring required

The unique identifier of the extension definition for which the requirement is being set.

Request body

requiresObjectboolean required

Indicates whether a custom action definition requires an associated object.

Response

No content

Changes

  • 2026-09a516396e0463Revision changes
    • info

      the endpoint scheme security developer_hapikey was added to the API

    • info

      the endpoint scheme security oauth2 was removed from the API

    • info

      the endpoint scheme security oauth2 was added to the API

    • info

      the endpoint scheme security developer_hapikey was removed from the API

    • info

      api tag Definitions added

    • info

      api tag Basic removed