Legacy Dev Forum Posts

 View Only

Sign Up

Get queueId from Interaction Subscription

  • 1.  Get queueId from Interaction Subscription

    Posted 06-05-2025 19:03

    JavierVRT | 2024-01-30 15:03:05 UTC | #1

    Hi, I'm using Framework Embedded and I need to invoke clickToDial, sending queueId as is described here https://developer.genesys.cloud/platform/embeddable-framework/actions/clickToDial

    The problem is that I just get queueName from an Interaction Suscription, but I need queueId.

        "type": "interactionSubscription",
        "data": {
            "category": "change",
            "interaction": {
                "old": {
                    "queueName": "Queue_1",
    				*[...]*
                },
                "new": {
                    "queueName": "Queue_1",
    				*[...]*
                }
            }
        }
    }

    Any way to get queueId?

    Thanks.


    JavierVRT | 2024-02-06 10:38:37 UTC | #2

    Please, Any help here?


    John_Carnell | 2024-02-06 17:12:08 UTC | #3

    JavierVRT, post:1, topic:24379
    is that I just get queueName from an Interaction Suscription, but I need queueId.
        "type": "interactionSubscription",
        "data": {
            "category": "change",
            "interaction": {
                "old": {
                    "queueName": "Queue_1",
    				*[...]*
                },
                "new": {
                    "queueName": "Queue_1

    If the queue id is not there you can use the JavaScript ID to get a list of the queues (or look up by the name) and then retrieve the queue id from the returned results.

    Thanks, John Carnell Director, Developer Engagement


    JavierVRT | 2024-02-08 10:17:39 UTC | #4

    Hi,

    What JavaScript ID? I'm inspecting with Chrome and I don't find any queueId, just queueNames.

    Please, Can you share any example of getting data by that way you say?

    Thanks.


    John_Carnell | 2024-02-08 12:59:06 UTC | #5

    Hi Javier,

    Sorry, I tried to answer your question in between meetings, and my answer was garbled.

    Take a look at this API. There is a query parameter to filter the results by name. You can use our API explorer or CLI to poke at this endpoint to understand the shape of the data. So if you need the queue ID for a specific queue name you can use this API. You can also use our Javascript API (though in the context of a web client, the SDK is a very light wrapper around the API and most Dev's call the API directly.

    I hope that helps.

    Thanks, John Carnell Director, Developer Engagement


    system | 2024-03-09 12:59:40 UTC | #6

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