Hey folks,
I’m trying to pull the full voice-to-text transcript for specific interactions using the Speech and Text Analytics API. We’re using this for QA compliance in our Chicago BPO, so getting the exact text is pretty critical.
I’ve got the conversation IDs from the WEM adherence reports, but when I hit the transcription endpoint, I’m getting a 404. Here’s the Python snippet I’m running:
import requests
headers = {
'Authorization': 'Bearer ' + ACCESS_TOKEN,
'Content-Type': 'application/json'
}
conversation_id = 'a1b2c3d4-e5f6-7890-abcd-ef1234567890'
url = f'https://api.us.genesyscloud.com/api/v2/analytics/conversations/details/realtime/{conversation_id}'
response = requests.get(url, headers=headers)
print(response.status_code)
print(response.json())
The response just says the resource wasn’t found. I’ve checked the docs, and it seems like I might be hitting the wrong endpoint for historical transcriptions. Is there a different API call I should be using to get the actual text string? Or do I need to query the analytics aggregates differently?
Any help would be great. I’ve been staring at the API reference for an hour and it’s not clicking.