Rihab,
Unfortunately there isn't an API that will get you the members of each skill.
If you are familiar with the Genesys Cloud Platform CLI you can get the list of users in an org and call for the skills using the skills expand flag.
Here is an PowerShell example after you have downloaded and installed the GC CLI.
$Response = .\gc.exe users list --expand lasttokenissues,authorization,dateLastLogin,profileskills,locations,skills --state active --autopaginate --pageSize 500 --clientid $ClientId --clientsecret $ClientSecret --environment $Region --outputformat JSON --profile gc-cli | ConvertFrom-Json
Here is an example of what you'll get in the response for one of the user objects.
Here is how you can drill down to the skills for the user object.
------------------------------
Carlos Albor
Senior Principal PS Consultant
------------------------------
Original Message:
Sent: 12-02-2024 05:59
From: Rihab BEN MALEK
Subject: sers assigned to each skill
Hello,
How can I extract the list of users assigned to each skill?
Thank you
#API/Integrations
#Quality Management
#Reporting/Analytics
#Routing(ACD/IVR)
#System Administration
#Telephony
#Unsure/Other
------------------------------
Rihab
------------------------------