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

# Retrieve functions for a given definition

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

Retrieve all functions included in a definition.

## Path parameters

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

## Response `200`

successful operation

- AutomationActionsCollectionResponsePublicActionFunctionIdentifierNoPaging
  - `results` AutomationActionsPublicActionFunctionIdentifier[], required
    - `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.

---

[API](https://skmtc.net/hubspot/apis/hubspot-api-specification.md) · [All operations](https://skmtc.net/hubspot/apis/hubspot-api-specification/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hubspot/hubspot-api-specification/versions/f9c7181056c5/schema)
