Automations
Update
Replaces one automation rule in full: condition groups, conditions and actions missing from the body are deleted, and the id in
the path overrides any id in the body.
The automation type cannot be changed, and on rules that are not CUSTOM only action values may be edited.
PUT
/api/{tenant:minlength(2)}/v{version:apiVersion}/automations/{id}
- Authorisation
- Minimum role: ADMIN
Request arguments
Request body example
Response
- Status
- 200 (OK)
- Type
- DTO_automation
- Wrapper
- DTO_response_wrap
- Other statuses
- 400 (BadRequest), 403 (Forbidden)
Response body example
DTO_automation_condition_group
DTO_automation_value
| Name | Type | ReadOnly | Description |
| id | Int32 | | The id of the reference |
| label | Object | | Label |
DTO_automation_action
| Name | Type | ReadOnly | Description |
| value | DTO_automation_value | | Deprecated in favour of , but still read on input and always populated on output
(with the first entry of ) so existing API clients keep working. |
| values | DTO_automation_value[] | | All values the action sets. Only fields that accept several values at once - tags and PICK_MANY
custom fields - may hold more than one entry; every other field is limited to a single value. |
| field_key | String | | Field key |
| action_type | ENUM automation_action_type | | Action type |
DTO_reference_user
| Name | Type | ReadOnly | Description |
| profile_pic | String | ReadOnly | Profile pic |
| email | String | ReadOnly | Email |
| id | Int32 | | Id |
| label | Object | ReadOnly | Label |
ENUM automation_conditions_operator
| Value | Name | Description |
| 0 | UNKNOWN | UNKNOWN |
| 1 | AND | AND |
| 2 | OR | OR |
ENUM automation_condition_type
| Value | Name | Description |
| 0 | UNKNOWN | UNKNOWN |
| 1 | CONTAINS | Contains |
| 2 | NOT_CONTAINS | Doesn't contain |
| 3 | EQUAL | Equals |
| 4 | NOT_EQUAL | Not equal |
| 5 | CHANGED_TO_EQUAL | Only for update triggers |
| 6 | CHANGED_TO_NOT_EQUAL | Only for update triggers |
| 7 | AI_EVALUATED | Only for create trigger in combination with specific "any" key |
ENUM automation_action_type
| Value | Name | Description |
| 0 | UNKNOWN | UNKNOWN |
| 1 | SET_VALUE | Set value |
| 2 | SET_SLA | Set SLA |
| 3 | SEND_NOTIFICATION | Send notification |
ENUM automation_trigger_by
| Value | Name | Description |
| 0 | UNKNOWN | UNKNOWN |
| 1 | TICKET_NEW | New ticket |
| 2 | TICKET_UPDATE | Ticket update |
| 2 | TICKET_SLA_BREACH | Ticket update |
ENUM automation_type
| Value | Name | Description |
| 0 | UNKNOWN | UNKNOWN |
| 1 | SYS_LOCKED_SETTINGS | Only the values can be changed |
| 2 | CUSTOM | Custom |
Generated Aug 4, 2026 18:37