Trying to pull a list of queues via the API for a dashboard script, but hitting a wall. The OAuth token has routing:queue:view and routing:queue:edit scopes, which should be enough.
curl -X GET "https://api.mypurecloud.com/api/v2/routing/queues" \
-H "Authorization: Bearer <token>" \
-H "Accept: application/json"
Returns a 403 Forbidden. The error payload says insufficient_scope, but I’ve checked the client credentials multiple times. We’re using a custom OAuth client created in the Genesys Cloud admin UI. Is there a hidden scope required for the v2 endpoint, or is this a division permission issue on the token itself? The token was generated with client_credentials grant type.