enotani | 2022-07-24 04:58:23 UTC | #1
Hi
Please let me know if there is an API for monitoring interactions. Is there an API to find the interaction that the supervisor is monitoring? Also, is there an API that can control monitoring such as pausing and resuming? Please let me know if there is an API for controlling monitoring.
Best Regards, Hirofumi.Enotani
Eos_Rios | 2022-07-25 12:36:16 UTC | #2
Passively monitor
POST /api/v2/conversations/calls/{conversationId}/participants/{participantId}/monitor
Actively coach them
POST /api/v2/conversations/calls/{conversationId}/participants/{participantId}/coach
You can use the Conversation Query Detail endpoint to find all conversations where monitoredParticipantId does exist and segmentEnd does not exist for a given user. Example below
The monitoring and coaching APIs are meant to be used in the context of an existing user not by a 3rd party like OAUTH client credentials.
The pause/resume mechanism the web UI uses isn't documented.
This example actually brings back all actively monitored conversations at the time it runs, you can add more filters as needed to refine your target, or parse through them client side, depending on your goals.
{ "conversationFilters": [ { "predicates": [ { "type": "dimension", "dimension": "conversationEnd", "operator": "notExists" } ], "type": "and" } ], "segmentFilters": [ { "type": "and", "predicates": [ { "type": "dimension", "dimension": "segmentEnd", "operator": "notExists" }, { "type": "dimension", "dimension": "monitoredParticipantId", "operator": "exists" } ] } ], "interval": "2022-07-24T00:00:00/2022-07-25T00:00:00" }
enotani | 2022-07-25 10:49:52 UTC | #3
Hi
I’m sorry for the late reply.
Thank you for teaching me so kindly. I will test the search. Unfortunately I understood that there is no API for pausing and resuming.
Thanks
Hirofumi
system | 2022-08-25 10:50:07 UTC | #4
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 15654