List Macro Action Definitions

GET {{baseUrl}}/api/v2/macros/definitions

Returns the definitions of the actions a macro can perform. For example, one action can set the status of a ticket. The definition of the action includes a title (Status), a type (list), and possible values. For a list of support actions, see Actions reference.

Allowed For

  • Agents

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"definitions":{"actions":[{"group":"ticket","nullable":false,"repeatable":false,"subject":"status","title":"Status","type":"list","values":[{"enabled":true,"title":"Open","value":"1"},{"enabled":true,"title":"Pending","value":"2"},{"enabled":true,"title":"Solved","value":"3"},{"enabled":true,"title":"Closed","value":"4"}]}]}}