curl --request GET \
--url https://api.hubapi.com/automation/actions/2026-03/{appId}/{definitionId}/functions/{functionType} \
--header 'Authorization: Bearer <token>'{
"functionSource": "<string>",
"functionType": "POST_ACTION_EXECUTION",
"id": "<string>"
}Retrieve functions of a specific type for a given definition.
curl --request GET \
--url https://api.hubapi.com/automation/actions/2026-03/{appId}/{definitionId}/functions/{functionType} \
--header 'Authorization: Bearer <token>'{
"functionSource": "<string>",
"functionType": "POST_ACTION_EXECUTION",
"id": "<string>"
}Supported products
The access token received from the authorization server in the OAuth 2.0 flow.
POST_ACTION_EXECUTION, POST_FETCH_OPTIONS, PRE_ACTION_EXECUTION, PRE_FETCH_OPTIONS successful operation
The source code or script that defines the function's behavior.
The type of function, with accepted values: POST_ACTION_EXECUTION, POST_FETCH_OPTIONS, PRE_ACTION_EXECUTION, PRE_FETCH_OPTIONS.
POST_ACTION_EXECUTION, POST_FETCH_OPTIONS, PRE_ACTION_EXECUTION, PRE_FETCH_OPTIONS The unique identifier for the action function.
Was this page helpful?