Here is an example sh script that will retrieve the 1st page of 10 calls that have been routed through a queue:
ACCESS_ID='yourlongbabelforceapiaccessidgoeshere' ENDPOINT="https://services.babelforce.com/api/v2/calls/reporting?filters.source=queue&max=10&page=1" curl $ENDPOINT \ |