---
title: "Show Changes to Ticket"
method: GET
path: "/api/v2/macros/{macro_id}/apply"
tags: ["Macros"]
---

# Show Changes to Ticket

`GET /api/v2/macros/{macro_id}/apply`

Returns the changes the macro would make to a ticket. It doesn't actually
change a ticket. You can use the response data in a subsequent API call
to the [Tickets](/api-reference/ticketing/tickets/tickets/) endpoint to update the ticket.

The response includes only the ticket fields that would be changed by the
macro. To get the full ticket object after the macro is applied,
see [Show Ticket After Changes](#show-ticket-after-changes).

#### Allowed For
* Agents

## Response `200`

Success Response

- MacroApplyTicketResponse
  - `result` object
    - `ticket` object
      - `assignee_id` integer
      - `comment` object
        - `body` string
        - `public` boolean
        - `scoped_body` array[]
          - string[]
      - `fields` object
        - `id` integer
        - `value` string
      - `group_id` integer
      - `id` integer
      - `url` string

---

[API](https://skmtc.dev/botbrains-io/apis/support-api.md) · [All operations](https://skmtc.dev/botbrains-io/apis/support-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/botbrains-io/support-api/revisions/d53eac07ba68/schema)
