Can I use the API to assign a macro to a user or group?
Yes, you can use the Macro API to assign a macro to a user or group. When creating the macro, add an additional key to the
restriction parameter. Use
type: 'Group' or
type:'User' and the ID of the group or user. See the example below.
restriction - An object that describes who can access the macro. To give all agents
access to the macro, omit this property The restriction object has the following properties. Name Comment type Required. Allowed values are "Group" or "User" id The numeric ID of the group or user ids The numeric IDs of the groups