---
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`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/automation/actions/2026-03/{appId}/{definitionId}/functions`
- Auth: one of:
  - HTTP bearer
  - API key in query parameter `hapikey`
  - none

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.

## Changes

> 14 revisions in range; 1 not diffed, 2 could not be searched.

- **2026-04-08** `b0d8bc008db9`: 1 info
  - api operation id `get-/automation/actions/2026-03/{appId}/{definitionId}/functions_getPage` removed and replaced with `get-/automation/actions/2026-03/{appId}/{definitionId}/functions`
- **2026-03-30** `dc2fdad57f7f`: 2 info
  - api tag `Functions` added
  - api tag `Basic` removed
- **2026-03-25** `37a93e10d5c4`: 1 info
  - endpoint added

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

---

[API](https://skmtc.dev/hubspot/apis/hubspot-api-specification.md) - [All operations](https://skmtc.dev/hubspot/apis/hubspot-api-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/hubspot-api-specification/revisions/f9c7181056c5?raw)
