addAutomaticActionGroup
Creates a new automatic action group or updates an existing one if group_id is provided.
Input parameters
Output data:
A sample request in PHP:
| type | text | Type of automatic action |
| group_id | int | Group ID (optional, for updating existing group) |
| name | varchar(255) | Group name |
Output data
The method returns the data in JSON format.
| status | varchar(30) | SUCCESS - request executed correctly ERROR - an error occurred during an API request. Error details will be described in 2 additional returned fields: error_message and error_code |
| group_id | int | Created/updated group ID |
Sample
Input data:Output data:
A sample request in PHP: