DennisHui | 2022-06-13 10:43:08 UTC | #1
I have used this API to retrieve the call logs https://api.mypurecloud.com.au/api/v2/analytics/conversations/details/query
But I don't know which API is used to retrieve the Staff (the participants) information base on the result of above API. It should have information about email, staff name, etc. Does the below API can achieve my purpose? But I cannot found any request parameters those are related to the result of my first API used https://api.mypurecloud.com.au/api/v2/users/search
Please help. Thanks.
John_Carnell | 2022-06-14 12:16:00 UTC | #2
DennisHui, post:1, topic:15116
il, staff name, etc.
Hi Dennis,
Inside of the conversation query's results you will see a conversations/participants path part of the JSON you should see three fields:
participantId - This is the GUID of the individual participating in the conversation. If the purpose is Agent you can then use the participantName to get their name or userId to get a GUID that you can then full user information GET /api/v2/users/{userId} call.
Remember to check the purpose field because you can have multiple participants in a call and you are looking specifically for agent information.
Thanks, John Carnell Manager, Developer Engagement
DennisHui | 2022-06-14 04:16:05 UTC | #3
Hi John Great, I can get the staff details with the information you provided. Thank you so much.
John_Carnell | 2022-06-14 12:16:15 UTC | #4
Awesome glad I could help.
Thanks, John
system | 2022-07-15 12:17:10 UTC | #5
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: 15116