Running a detail query against GET /api/v2/analytics/conversations/details/query and the wrapUpCode field keeps coming back null. The Studio script definitely sets it during the wrap-up phase. I’ve verified the JSON payload returned from the API. It looks like this:
{
"totalCount": 1,
"results": [
{
"id": "abc-123",
"type": "voice",
"wrapUpCode": null,
"disposition": {
"wrapUpCode": null
}
}
]
}
Tried adding wrapUpCode to the groupBy array and the select array. No change. The timestamp is correct, the user ID is correct. Just no wrap-up code. Is this a known limitation with the detail query endpoint or am I missing a specific header? The aggregate endpoint pulls it fine, but I need the detail level data. Checked the documentation, doesn’t mention any caveats for voice conversations specifically. Using the standard Bearer token auth. Any thoughts?