Find calls less than 30 sec that went through a queue

Here is an example sh script that will retrieve the 1st page of 10 inbound calls that have been routed through a queue where the duration is less than 30 seconds:

ACCESS_ID='yourlongbabelforceapiaccessidgoeshere'
TOKEN='yourlongbabelforceapitokengoeshere'

ENDPOINT="https://services.babelforce.com/api/v2/calls/reporting?filters.maxDuration=30000&filters.source=queue&filters.type=inbound&max=10&page=1&q="

curl $ENDPOINT \
-H "X-Auth-Access-Id: $ACCESS_ID" \
-H "X-Auth-Access-Token: $TOKEN" \

 

Have more questions? Submit a request