getAutomaticActions
Returns automatic actions (macros) for the current user. Returns max 100 results per page.
Input parameters
Output data:
A sample request in PHP:
| type | text | Type of automatic action |
| automatic_action_ids | array | Filter by automatic action IDs (array of ints) |
| group_id | int | Filter by group ID |
| trigger_types | array | Filter by trigger types (array of ints) |
| condition_types | array | Filter by condition types (returns actions containing at least one condition of given types) |
| task_types | array | Filter by task types (returns actions containing at least one task of given types) |
| page | int | Page number (starting from 0) |
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 |
| automatic_actions | array | List of automatic actions (max 100 per page) |
| | - 0 | ||
| | - 1 | ||
| | - 2 | ||
| | - 3 | ||
| | - 4 | ||
| | - 5 | ||
| | - 6 | ||
| | - 7 |
Sample
Input data:Output data:
A sample request in PHP: