Same old story - many API calls require a user to initiate like acting on an interaction they are handling. Others require that they be done in a system context like changing settings or manipulating interactions in queue. In this case, you will either need to send in credentials of the user with the interaction or find another way to do this at a system. level. Remember that when you use the API Explorer - that is user context while most data actions are system context. Easy way to know which API is which.
------------------------------
Robert Wakefield-Carl
Avtex Solutions, LLC
Contact Center Innovation Architect
robertwc@avtex.comhttps://www.Avtex.comhttps://RobertWC.Blogspot.com------------------------------