...
2. Create a new user group (like "APItest" in the guide posted below) which includes the API account owning the ticket as well as all other users. This is the user group that must have ACD supervisor role granted.
...
4. The group need to be added as supervisor to the ACD attendant queue
Function Numbers>Attendant groups> Groups
...
Add the properties on the user or customer
...