Legacy Dev Forum Posts

 View Only

Sign Up

Need to set X-UserToUser header on call conversation

  • 1.  Need to set X-UserToUser header on call conversation

    Posted 06-05-2025 18:05

    canderson | 2020-01-06 20:28:27 UTC | #1

    Is this possible using the .NET SDK, or any other way?


    tim.smith | 2020-01-07 15:30:03 UTC | #2

    Use PostConversationsCalls(...) and set the UuiData property on the request body.

    Note that using UUI data requires trunk configuration: https://help.mypurecloud.com/articles/user-to-user-information-uui-overview/


    canderson | 2020-01-08 15:52:21 UTC | #3

    I probably should have put more detail into my initial post explaining exactly what I need to do.

    I've built a process that subscribes to the "v2.users.{userId}.conversations.calls" topic for a bunch of users. When a notification is received of an incoming call, I want to look up the UUI Data on that call. If it's not set (which it might not be), I need to set it.

    So there are two questions.

    1. How do I get the UUI Data from an existing call? Using the conversationApi.GetConversationsCall(callId) doesn't give it to me, at least as far as I can find.
    2. How do I set it? Using the conversationApi.PostConversationsCalls() method I'm not sure how to update the UUI Data on an existing call. There's a property called ConversationIds on the CreateCallRequest object, but is that the same as the Id that I get in my notification (which is of type QueueConversationCallEventTopicCallConversation). Also, the metadata on the ConversationIds property says "The list of existing call conversations to merge into a new ad-hoc conference." which doesn't sound at all like what I want to do.

    tim.smith | 2020-01-09 16:22:22 UTC | #4

    The only time you can set UUI data on a call is when you're placing an outbound call. You can set a participant attribute to whatever you want, but you can't rewrite the history of what was read from the SIP headers. You can read the UUI data that came in on an inbound a call via a participant attribute; I believe it's named UUIData.


    system | 2020-02-09 16:35:56 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: 6822