Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  See Set Participant Data

    Posted 06-05-2025 18:14

    Jeremy_Gillip | 2019-02-25 21:46:04 UTC | #1

    Good Morning,

    How can I check with the API to see what data is set on the Conversation ID or Session ID of a conversation that was set by an Architect Set Participant Data. I have tried analytics APi and /api/v2/analytics/conversations/{conversationId}/details and it does not seem to show the attributes or values.


    MelissaBailey | 2019-02-22 17:00:07 UTC | #2

    Use the conversations API, the /api/v2/conversations/{conversationId} endpoint. It's in the attributes field of one of the participants, normally the participant with the purpose of "external".

    https://developer.mypurecloud.com/api/rest/client-libraries/javascript/ConversationsApi.html#getConversation


    Jeremy_Gillip | 2019-02-25 19:55:16 UTC | #3

    Yep that worked. Thank you.


    mstrazzini | 2019-02-28 22:48:28 UTC | #4

    Just keep in mind that queries in /api/v2/conversations only applies to live interactions (the ones happening at that moment), while /api/v2/analytics/conversations brings historical data about the interactions/conversations but, unfortunately, does not include participant data...


    anon28066628 | 2019-03-04 14:23:54 UTC | #5

    MelissaBailey, post:2, topic:4651
    /api/v2/conversations/{conversationId}

    @mstrazzini This resource will get a conversation after it has ended and is compatible with client credentials OAuth client. The conversations are only kept in the conversation service for ~90 days though, not indefinitely like Analytics service. They're also pulled by ID, one at a time, so there are limits to the volume you can get. Most apps run overnight at off-peak hours if you're going to get the prior day's conversations with participant attributes.

    The resource you referred to (/api/v2/conversations) works only with implicit grant and code authorization OAuth clients, where user login is required. You're correct - that resource lists only the active conversations for the currently logged in user.


    system | 2019-04-04 14:23:57 UTC | #6

    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: 4651