Speech Analytics API returning empty transcript array despite 200 OK

I’m trying to pull full voice-to-text transcripts for a specific interaction from a Node.js script. The auth token is valid, and I’m passing the interactionId in the query string along with page=1 and pageSize=100. The response comes back with a 200 OK, but the items array is empty.

Here’s the snippet:

const response = await axios.get(`${baseUrl}/api/v2/speechandtextanalytics/conversations/${conversationId}/communications/${communicationId}/transcripturls`, {
 headers: { 'Authorization': `Bearer ${token}` },
 params: { interactionId: 'abc-123-def', page: 1, pageSize: 100 }
});
console.log(response.data);

The output shows { items: [], pageSize: 100, pageNumber: 1, totalElements: 0 }. I confirmed the interaction exists and has voice media via the Conversations API. Is there a delay before transcripts are indexed? Or do I need a specific scope like speechanalytics:transcript:view that isn’t documented clearly? The job status endpoint says the transcript is ready, but this query returns nothing.

1 Like