Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

HubSpot Action Functions API

Operations to manage serverless functions associated with action definitions

HubSpot Action Functions API is one of 93 APIs that HubSpot publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 652 JSON Schema definitions.

Tagged areas include Action Functions. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, code examples, and 652 JSON Schemas.

This API exposes 6 operations across 3 paths, and defines 5 schemas. It is described by OpenAPI 3.1.0, at version 3.0.0.

Requests are made against a single base URL, https://api.hubapi.com.

6 operations 3 paths 5 schemas 2 DELETE3 GET1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
3.0.0
Base URL
https://api.example.com
Authentication
OAuth 2.0
License
Resource Areas
1

Authentication & Security 1

HubSpot Action Functions API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (OAuth2) using the authorizationCode flow, exposing 1 scope.

Paths & Operations 6

Across 3 paths, the API surfaces 6 operations — 2 DELETE, 3 GET, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Action Functions 6

Operations to manage serverless functions associated with action definitions

GET
/automation/v4/actions/{appId}/{definitionId}/functions
Hubspot List Action Functions
listActionFunctions 2 params → 200400401404500
GET
/automation/v4/actions/{appId}/{definitionId}/functions/{functionType}
Hubspot Retrieve Function by Type
getActionFunctionByType 3 params → 200400401404500
PUT
/automation/v4/actions/{appId}/{definitionId}/functions/{functionType}
Hubspot Create or Update a Function
upsertActionFunction 3 params body → 200201400401500
DELETE
/automation/v4/actions/{appId}/{definitionId}/functions/{functionType}
Hubspot Delete a Function by Type
deleteActionFunctionByType 3 params → 204401404500
GET
/automation/v4/actions/{appId}/{definitionId}/functions/{functionType}/{functionId}
Hubspot Retrieve a Specific Function
getActionFunctionById 4 params → 200400401404500
DELETE
/automation/v4/actions/{appId}/{definitionId}/functions/{functionType}/{functionId}
Hubspot Delete a Specific Function
deleteActionFunctionById 4 params → 204401404500

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are Error (7 properties), ErrorDetail (5 properties), ActionFunction (3 properties), ActionFunctionCollection (1 property). Each schema is shown below with its type and property counts.

ActionFunction
object
A serverless function associated with an action
3 properties 3 required
ErrorDetail
object
Detailed error information
5 properties 1 required
ActionFunctionInput
object
Input for creating or updating a function
1 property 1 required
Error
object
An error response
7 properties 3 required
ActionFunctionCollection
object
A collection of action functions
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

hubspot-action-functions-api-openapi.yml Raw ↑

Other APIs HubSpot publishes across the network.

HubSpot Posts API
HubSpot URL Redirects API
HubSpot Pipelines API
HubSpot Products API
HubSpot Line Items API
HubSpot Quotes API
HubSpot CRM Properties API
HubSpot Owners API
HubSpot CRM Imports API
HubSpot Custom Objects API
HubSpot Marketing Events API
HubSpot Forms API