C# HttpRequest Get call history

Hi. In very new to Genesys and it's api. I'm a C# developer and trying to obtain all phone conversations for all users for the last 30 days. Thus far I've been able to create client credentials (oauth) and create a simple c# program that will connect and return an access token but that's about it. I plan on using HttpClient to make the request since I'm unable to get the .net sdk working..

Could someone please point me to the correct endpoint to get this data and if possible a small example of how to make the rest call?

Thanks

Using the C# SDK make things so much easier so I highly suggest working to get that working. If you share the problem you are having, I can help you get that working.

On the REST call for getting call conversations, here are some details which I built using the developer tools page. https://developer.genesys.cloud/devapps/api-explorer

POST /api/v2/analytics/conversations/details/query HTTP/1.1
{"segmentFilters":[{"predicates":[{"type":"dimension","dimension":"mediaType","operator":"matches","value":"voice"}],"type":"and"}],"interval":"2024-01-01T00:00:00/2024-01-15T00:00:00"}

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.