curl --request PUT \
--url 'https://api.hubapi.com/automation/actions/2026-03/{appId}/{definitionId}/functions/{functionType}?hapikey=' \
--header 'Content-Type: text/plain' \
--data '<string>'{
"functionType": "POST_ACTION_EXECUTION",
"id": "<string>"
}curl --request PUT \
--url 'https://api.hubapi.com/automation/actions/2026-03/{appId}/{definitionId}/functions/{functionType}?hapikey=' \
--header 'Content-Type: text/plain' \
--data '<string>'{
"functionType": "POST_ACTION_EXECUTION",
"id": "<string>"
}Supported products
POST_ACTION_EXECUTION, POST_FETCH_OPTIONS, PRE_ACTION_EXECUTION, PRE_FETCH_OPTIONS The body is of type string.
Was this page helpful?