Legacy Dev Forum Posts

 View Only

Sign Up

View "data" properties for /api/v2/conversations/callbacks api in Purecloud

  • 1.  View "data" properties for /api/v2/conversations/callbacks api in Purecloud

    Posted 06-05-2025 18:15

    NavneetPisharodi | 2019-05-15 22:06:46 UTC | #1

    Hi there,

    I am trying to create a callback. In the process, I am sending in an object that looks like the one below.

    { "queueId": "<queue guid>", "callbackUserName": "<name>", "callbackNumbers": [ "<phone>" ], "callbackScheduledTime": "<time iso 8601 format>", "data": { "notes": "This is a test callback", "customerPreferredName": "test user" } }

    How can an agent see the "notes" and the "customerPreferredName" properties on their console once this callback is assigned to them?

    I did see a similar question here which involved creating a script but in Tim's answer, the second image was missing. Could one of you point me in the correct direction with some defined steps?

    thank you.


    NavneetPisharodi | 2019-05-16 03:18:25 UTC | #2

    Managed to figure this one out. For those who are facing a similar issue, ensure you create a script, add your attribute to this (the name of this attribute should match the property name in your api payload) under the variables tab and then ensure output and input are marked as yes. Once done, you can add a new text component and select this attribute as your value. Once saved and published, your agent will then start seeing the additional information.


    system | 2019-06-16 03:18:27 UTC | #3

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