Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Help to run this api

    Posted 06-05-2025 18:43

    dtorres265 | 2022-06-17 01:10:19 UTC | #1

    I'm trying to run this api from actions in order to get calls in queue, If I run from integrations works fine just passing the input queue id but when I try to run the api from postman for examples I get some errors. The idea is to query this api from webchat and publish queue calls on a given queue an update every 60 secs for example. Can somebody provide some help on how can I run this api into a JS? { "requestUrlTemplate": "/api/v2/analytics/queues/observations/query", "requestType": "POST", "headers": { "Content-Type": "application/json" }, "requestTemplate": "{\"filter\": {\"type\":\"or\",\"predicates\": [{\"dimension\": \"queueId\",\"value\": \"${input.QUEUE_ID}\"}]},\"metrics\": [\"oWaiting\"]}" }


    tim.smith | 2022-06-17 14:36:14 UTC | #2

    dtorres265, post:1, topic:15197
    but when I try to run the api from postman for examples I get some errors.

    Could you provide some information about these errors?


    system | 2022-07-18 14:36:21 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: 15197