Hey folks,
We’re building a server-side script to pull adherence data every hour. I’m stuck on the OAuth grant type. The docs mention Client Credentials and Authorization Code. Which one fits a headless backend that just needs to hit /api/v2/wem/reporting?
Here’s my current setup:
- Python 3.9 using
requests - Genesys Cloud Org ID:
my-org-id - Trying to hit
https://api.mypurecloud.com/api/v2/oauth/token - Error 401 when using client credentials without a user context
Can Client Credentials actually access WEM reports? Or do I need to store a user’s refresh token?