Hello!
My team needs to update 200+ shortcuts to restrict their availability from "All Agents" to just specific departments. So we don't have to do this manually, is there an API endpoint to find all shortcuts that are available to all? I notice this documentation:
https://developer.zendesk.com/api-reference/live-chat/chat-api/shortcuts/#show-shortcut
However when I visit [mysubdomain].zendesk.com/api/v2/shortcuts it seems this endpoint doesn't exist and search definitely isn't an option, the results are:
{"error":"InvalidEndpoint","description":"Not found"}
We aren't set up to use cURL but we can use Python to submit API requests, I was hoping I could write a script to:
- Get the IDs of all the shortcuts that are available to all
- Iterate over them and use the Update endpoint to change the scope to 'department' (How do you specify which department?)
Thanks for any suggestions?
The legacy chat endpoints can be found under zopim.com not your subdomain. You can see this in the curl examples and we also talk about it here.
Hope this helps!