Alexander_Martinez | 2020-10-21 16:13:00 UTC | #1
Hello everyone,
I am looking the way to use analytics API ( /api/v2/analytics/conversations/details/query), to extract the information exposed in interactions view but when we make the call to the API not all the information is showed, it only shows some of the information that we see in thsi view, like for example, set participant data (participant attributes), is not showed.
Thanks in advance, Alexander
John_Carnell | 2020-10-22 12:39:00 UTC | #2
Hi Alexander,
The participant attribute is not shown in the /api/v2/analytics/conversations/details/query endpoint. You will need to look at the jobs endpoint ( /api/v2/analytics/conversations/details/jobs).
If you need conversation data before the analytics job data is populated, you have to use an analytics detail query to list "all the conversations", then make a conversations API query for each individual conversation to fetch the participant attribute for each, then match up participants in the results and copy over the attributes.
I hope that helps.
Thanks, John
Alexander_Martinez | 2020-10-22 13:09:04 UTC | #3
Hi John,
Thanks for your reply and to clarify the workaround to get this information.
Alexander.
system | 2020-11-21 13:09:05 UTC | #4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 9138