We are using this documentation and would like to fetch Call details of a specific Queue via API calls through a Customs app we created. /docs/api/rest/reference/phone/methods/#operation/accountCallHistory
inside this documentation there is a mention of
extension_types
array of string Allowed: user ┃ call_queue ┃ auto_receptionist ┃ common_area ┃ zoom_room ┃ cisco_room ┃ shared_line_group ┃ group_call_pickup ┃ external_contact
The extension type filter of the call logs.
```*emphasized text*
But when our engineer put Extention type call_queue , it fetches all the queues we have. as it's not a compliant to our policy, we'are looking on who to limit so that they can get data for a specific call-queue with extension number for example 8005.
Hi @sayed.kazemi
Thanks for reaching out to us.
The behavior you are seeing is expected. Using the query param “call_queue” will return all the queues in your account.
Have you tried with a different endpoint, such as Get call queue details
Thank you Elisa for the reply.
We tried the call queue details, however it only provides a specific call queue’s information, it doesn’t include call logs of the call queue.
Lets say:
we have 3 call queues,
call queue X,
call queue Y,
call queue Z,
we would like to get call logs of Call queue Z, and don’t want to see any information regarding Call queue X & Y.
Hi @sayed.kazemi
I see what you mean.
Unfortunately, I do not think we have an endpoint that will allow you to do so.
You will need to query the endpoint and loop through it