image for site

Restricting Macro Access to Specific Agents in Zendesk

Learn how to use the Zendesk Macro API to restrict macro access to specific agents or groups by setting the restriction object.

How do I restrict macro access to specific agents in Zendesk?

To restrict macro access to specific agents in Zendesk, you need to use the restriction object in the Macro API. This involves setting the 'type' to 'User' and providing the numeric ID of the user.

By doing this, only the specified user will have access to the macro. If you want to restrict access to a group of agents, set the 'type' to 'Group' and provide the group's numeric ID. This way, only members of that group will be able to use the macro.


More related questions

Can I use the Zendesk API to assign a macro to a user or group?

Yes, you can use the Zendesk Macro API to assign a macro to a user or group. To do this, you need to add an additional key to the restriction parameter when creating the macro. This involves specifying the type as either 'Group' or 'User' and…

What is the restriction object in Zendesk Macro API?

The restriction object in the Zendesk Macro API defines who can access a macro. It is an optional parameter that you can include when creating a macro. The restriction object has two main properties: 'type' and 'id'. The 'type' is required and can…

Can I assign a macro to multiple groups in Zendesk?

Yes, you can assign a macro to multiple groups in Zendesk by using the 'ids' property in the restriction object. This allows you to specify the numeric IDs of multiple groups that should have access to the macro. By listing the IDs of the groups in…

Interested indeflectingover 70% of your Zendesk support tickets?

Our AI customer support agent is here to help. Trained on all your help docs, installed directly into your Zendesk account, it can be used to automate customer replies for tickets or live chat. Learn more below.
Zendesk logo

Zendesk Support Tickets

Receive new tickets by email or a support form? This integration is for you.
My AskAI integrated within Zendesk to deflect support tickets
Learn about our Zendesk ticket integration
Zendesk logo

Zendesk Messaging (live chat)

Using Zendesk's Messaging widget on your site for live chat? This integration is for you.
My AskAI integrated within Zendesk to deflect customer support live chat conversations
Learn about our Zendesk Messaging integration

Join1,000+ companies reducing their support costs and freeing up support agents for more important work

Vestd company logo — Customer of My AskAI's AI customer support agents
Genesis company logo — Customer of My AskAI's AI customer support agents
Zinc company logo — Customer of My AskAI's AI customer support agents
Customer.io company logo — Customer of My AskAI's AI customer support agents
Zeffy company logo — Customer of My AskAI's AI customer support agents
NHS company logo — Customer of My AskAI's AI customer support agents
Kontakt.io company logo — Customer of My AskAI's AI customer support agents

Reduce support costs.Spend more time on customer success.

Our AI customer support agents are already used by 👇
Companies using AI assistants on their websites