---
title: "Retrieve functions for a given definition"
method: GET
path: "/automation/actions/2026-09/{appId}/{definitionId}/functions"
tags: ["Functions"]
---

# Retrieve functions for a given definition

`GET /automation/actions/2026-09/{appId}/{definitionId}/functions`

## Request

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

Retrieve all functions included in a definition.

## Path parameters

- `appId` integer, required
- `definitionId` string, required

## Response `200`

successful operation

- CollectionResponsePublicActionFunctionIdentifierNoPaging
  - `results` PublicActionFunctionIdentifier[], required: An array of PublicActionFunctionIdentifier objects, each representing a specific function associated with an automation action definition.
    - `functionType` 'POST_ACTION_EXECUTION' | 'POST_FETCH_OPTIONS' | 'PRE_ACTION_EXECUTION' | 'PRE_FETCH_OPTIONS', required: The type of function, with accepted values: POST_ACTION_EXECUTION, POST_FETCH_OPTIONS, PRE_ACTION_EXECUTION, PRE_FETCH_OPTIONS.
    - `id` string: The unique identifier for the function.

## Other responses

- `default`: An error occurred.

## Changes

- **2026-09-11** (2026-09) `a516396e0463`: 2 info
  - the endpoint scheme security `developer_hapikey` was added to the API
  - the endpoint scheme security `oauth2` was removed from the API
- **2026-09-03** (2026-09) `c6eb28324e2a`: 4 info
  - the endpoint scheme security `oauth2` was added to the API
  - the endpoint scheme security `developer_hapikey` was removed from the API
  - api tag `Functions` added
  - api tag `Basic` removed

[Operation history](https://skmtc.dev/hubspot/apis/automation-actions-v4/changes/automation/actions/2026-09/:appId/:definitionId/functions/get.md)

---

[API](https://skmtc.dev/hubspot/apis/automation-actions-v4.md) - [All operations](https://skmtc.dev/hubspot/apis/automation-actions-v4/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/automation-actions-v4/revisions/bfab10ea153c?raw)
