Help to run this api

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"]}"
}

Could you provide some information about these errors?

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.