Hi everyone!
We're having a strange intermittent issue with the Conversations API and I'm hoping to get some guidance on it. The Conversations API returns a 400 if a participant is not defined in the request body of POST /api/v2/conversations/calls. However, every so often we are having an issue where it will return a 202, the call will be placed in the UI, but it never starts ringing.
The strange part is the agent UI shows the correct DNIS, but if we look at the call from the Conversations API and from the Interactions Workspace, it only shows to have only ever had a single participant on it. Here's a redacted JSON example, as well as a screenshot
{
"id": "<REDACTED>",
"startTime": "2025-04-08T14:37:26.529Z",
"endTime": "2025-04-08T14:37:52.715Z",
"address": "sip:<REDACTED>",
"participants": [
{
"id": "<REDACTED>",
"startTime": "2025-04-08T14:37:26.529Z",
"endTime": "2025-04-08T14:37:52.715Z",
"name": "Internal Agent Name",
"userUri": "/api/v2/users/<REDACTED>",
"userId": "<REDACTED>",
"queueId": "<REDACTED>",
"queueName": "<REDACTED>",
"purpose": "agent",
"participantType": "Internal",
"address": "sip:<REDACTED>",
"ani": "sip:<REDACTED>",
"dnis": "tel:+1<REDACTED>",
"wrapupRequired": false,
"wrapupPrompt": "agentRequested",
"wrapupTimeoutMs": 30000,
"mediaRoles": [
"full"
],
"attributes": {},
"calls": [
{
"state": "terminated",
"initialState": "contacting",
"id": "<REDACTED>",
"direction": "outbound",
"recording": false,
"recordingState": "none",
"muted": false,
"confined": false,
"held": false,
"securePause": false,
"segments": [
{
"startTime": "2025-04-08T14:37:26.529Z",
"endTime": "2025-04-08T14:37:52.715Z",
"type": "Contacting",
"howEnded": "Disconnect",
"disconnectType": "client"
}
],
"disconnectType": "client",
"disconnectedTime": "2025-04-08T14:37:52.715Z",
"disconnectReasons": [],
"provider": "Edge",
"self": {
"nameRaw": "",
"addressNormalized": "sip:<REDACTED>",
"addressRaw": "<REDACTED>",
"addressDisplayable": "unavailable"
},
"other": {
"name": "Plano TX",
"nameRaw": "",
"addressNormalized": "tel:+1<REDACTED>",
"addressRaw": "tel:+1<REDACTED>",
"addressDisplayable": "unavailable"
},
"afterCallWork": {
"startTime": "2025-04-08T14:37:52.715Z",
"endTime": "2025-04-08T14:37:52.715Z",
"state": "skipped"
},
"afterCallWorkRequired": false,
"queueMediaSettings": {
"alertingTimeoutSeconds": 25
}
}
],
"callbacks": [],
"chats": [],
"cobrowsesessions": [],
"emails": [],
"messages": [],
"screenshares": [],
"socialExpressions": [],
"videos": [],
"startAcwTime": "2025-04-08T14:37:52.715Z",
"endAcwTime": "2025-04-08T14:37:52.715Z",
"internalMessages": []
}
],
"recordingState": "NONE",
"divisions": [
{
"division": {
"id": "<REDACTED>",
"selfUri": "/api/v2/authorization/divisions/<REDACTED>"
},
"entities": [
{
"id": "<REDACTED>",
"selfUri": "/api/v2/users/<REDACTED>",
"dateDivisionUpdated": "2025-04-08T14:37:26.679Z"
},
{
"id": "<REDACTED>",
"selfUri": "/api/v2/routing/queues/<REDACTED>",
"dateDivisionUpdated": "2025-04-08T14:37:26.679Z"
}
]
}
],
"recentTransfers": [],
"securePause": false,
"utilizationLabelId": "<REDACTED>",
"selfUri": "/api/v2/conversations/<REDACTED>"
}
Could anyone give me some insight as to why this could be the case?
#PlatformAPI------------------------------
Nate Reprogle
------------------------------