Create Action Class from the UI or from the API! You can read more about them here.
The environment ID where the action class will be created
Name of the action class
1Type of action class
code, noCode Optional description of the action class
Required when type is 'code'. A unique identifier for the action. Not needed for 'noCode' type.
1Configuration object required when type is 'noCode'. Defines the conditions for triggering the action. Not needed for 'code' type.
OK
The response is of type object.