curl --request PUT \
--url https://api.hubapi.com/automation/actions/2026-03/{appId}/{definitionId}/functions/{functionType} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: text/plain' \
--data '<string>'{
"functionType": "POST_ACTION_EXECUTION",
"id": "<string>"
}Ajoutez une fonction pour une définition donnée.
curl --request PUT \
--url https://api.hubapi.com/automation/actions/2026-03/{appId}/{definitionId}/functions/{functionType} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: text/plain' \
--data '<string>'{
"functionType": "POST_ACTION_EXECUTION",
"id": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://developers.hubspot.fr/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.
POST_ACTION_EXECUTION, POST_FETCH_OPTIONS, PRE_ACTION_EXECUTION, PRE_FETCH_OPTIONS The body is of type string.
successful operation
Le type de fonction, avec les valeurs acceptées : POST_ACTION_EXECUTION, POST_FETCH_OPTIONS, PRE_ACTION_EXECUTION, PRE_FETCH_OPTIONS.
POST_ACTION_EXECUTION, POST_FETCH_OPTIONS, PRE_ACTION_EXECUTION, PRE_FETCH_OPTIONS L'identifiant unique de la fonction.