Skip to main content
POST
Create Action Class

Headers

x-api-key
string
required

Body

application/json
name
string
required

Name of the action class

Minimum string length: 1
type
enum<string>
required

Type of action class

Available options:
code,
noCode
workspaceId
string
required

The workspace ID where the action class will be created

description
string

Optional description of the action class

key
string

Required when type is 'code'. A unique identifier for the action. Not needed for 'noCode' type.

Minimum string length: 1
noCodeConfig
object | null

Configuration object required when type is 'noCode'. Defines the conditions for triggering the action. Not needed for 'code' type.

Response

OK

The response is of type object.