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

# Retrieve functions for a given definition

`GET /automation/v4/actions/{appId}/{definitionId}/functions`

Retrieve all functions included in a definition.

## Path parameters

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

## Response `200`

successful operation

- CollectionResponsePublicActionFunctionIdentifierNoPaging
  - `results` PublicActionFunctionIdentifier[], 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/automation-actions-v4.md) · [All operations](https://skmtc.net/hubspot/apis/automation-actions-v4/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hubspot/automation-actions-v4/revisions/8864c563ec77/schema)
