Pular para o conteúdo principal
GET
/
automation
/
v4
/
actions
/
{appId}
/
{definitionId}
/
functions
/
{functionType}
Recuperar funções por tipo para uma determinada definição
curl --request GET \
  --url 'https://api.hubapi.com/automation/v4/actions/{appId}/{definitionId}/functions/{functionType}?hapikey='
{
  "functionSource": "<string>",
  "functionType": "POST_ACTION_EXECUTION",
  "id": "<string>"
}
Produtos suportados
Requer um dos seguintes produtos ou superior.
Marketing HubMarketing HubProfessional
Sales HubSales HubProfessional
Service HubService HubProfessional
Content HubContent HubGrátis

Autorizações

hapikey
string
query
obrigatório

Parâmetros de caminho

appId
integer<int32>
obrigatório
definitionId
string
obrigatório
functionType
enum<string>
obrigatório
Opções disponíveis:
POST_ACTION_EXECUTION,
POST_FETCH_OPTIONS,
PRE_ACTION_EXECUTION,
PRE_FETCH_OPTIONS

Resposta

successful operation

functionSource
string
obrigatório

O código-fonte ou script que define o comportamento da função.

functionType
enum<string>
obrigatório

O tipo de função. Os valores aceitos são: POST_ACTION_EXECUTION, POST_FETCH_OPTIONS, PRE_ACTION_EXECUTION, PRE_FETCH_OPTIONS.

Opções disponíveis:
POST_ACTION_EXECUTION,
POST_FETCH_OPTIONS,
PRE_ACTION_EXECUTION,
PRE_FETCH_OPTIONS
id
string

O identificador exclusivo da função de ação.

Last modified on January 23, 2026