Trying to pull CSAT survey responses linked to specific interactions using the Quality API. The goal is to match a conversation_id from the Analytics API to its corresponding evaluation score.
Called GET /api/v2/quality/evaluations with query params:
?evaluationFormId=12345-67890&fromDate=2023-10-01T00:00:00Z&toDate=2023-10-31T23:59:59Z&pageSize=25
The response status is 200. The entities array is empty. paging shows pageSize: 25 and pageNumber: 1.
Checked the evaluation form. It is active. The survey questions are mapped to the interaction. Verified the conversationId exists in the system via the Conversations API. It has a status of terminated.
Tried removing the evaluationFormId filter. Still empty results. Tried adding scoreStatus:completed. No change.
The documentation states evaluations are available shortly after submission. These interactions are weeks old. The token has quality:evaluation:view scope.
Is there a specific delay or a different endpoint for retrieving survey data tied to interactions? The current approach yields nothing.