Question

How can I export all the macros of my account into a file?

Answer

There isn't an out-of-the-box feature that allows you to pull a list of all your macros. However, you can use the API endpoint List Macros to retrieve all shared and personal macros available to the current user. Admins can retrieve any macro on the account regardless of who created it.

To retrieve personal and active macros, use the following code snippet:

api/v2/macros.json?access=personal&active=true

Alternatively, to retrieve all macros on the account, use this code snippet:

api/v2/macros.json?access=account

To append any of the code snippets to a URL:

  1. Sign in to your Zendesk account
  2. In the URL of your browser, after mycompany.zendesk.com, add any of the code snippets replacing mycompany with your account subdomain. For example:

    mycompany.zendesk.com/api/v2/macros.json?access=personal&active=true
  3. Press Enter to display a list of active personal macros available to the user
Tip: Vladan Jovic, one of Zendesk Community Moderators, created the following tutorial on how to export Zendesk macros into a spreadsheet that uses the API referred to above.
Powered by Zendesk