Genesys Cloud historical data to CSV.
- conversation attributes
- conversation details
- conversation summary
- conversation session summary
- users
- users primary presence
- users routing status
- queues membership
- evaluations
- surveys
- Make sure that your org have configured Raw Data by Noralogix and you have access rights to control client credentials.
- Login to Repo361 with AD credentials.
- Go to settings page and generate client secret. Store it in a safe place. Next time secret will be hidden.
- Run Raw Data files API based on client credentials.
For security purposes: Repo361 is not storing api client secrets, it just gives possibilities to create, update or delete secrets. Raw data files urls accessible for 1 hour.
Make post request with client credentials to generate auth token
POST https://api.repo361.com/security/oauth2/token
ContentType: application/x-www-form-urlencoded
Form: {
"client_id": "put here client_id"
"client_secret": "put here client_secret"
"grant_type": "client_credentials"
}
Make get request with specified header Authorization
GET https://api.repo361.com/rawdata/files/{date}/csv
Headers: {
"Authorization": "Bearer {put here access_token}"
"Content-Type": "application/json"
}
Where {date} in format yyyymmdd, for example 20210613
You can try PowerShell example with your own client credentials.
Sample C# .NET6 app to fetch data and push mysql
Before running sample app please check MySQL scripts to create table.