Macros
Show Macro Replica
Returns an unpersisted macro representation derived from a ticket or macro.
The endpoint takes one of the following query parameters: macro_id or ticket_id. If you include both, macro_id is used.
Allowed For
- Agents
get/api/v2/macros/new
Response
Success Response
Example response
{
"macro": {
"actions": [],
"active": true,
"description": "Sets the ticket status to `solved`",
"id": 25,
"position": 42,
"restriction": {
"id": 4,
"type": "User"
},
"title": "Close and Save"
}
}