Deepak | 2019-02-17 12:20:15 UTC | #1
Which api need to be used to get the list of inbound phone numbers and call routing information ?
IVR Name -> Mapped Inbound Phone Numbers
Regards Deepak
jcp | 2019-02-18 09:14:19 UTC | #2
Hi Deepak,
You can look at GET /api/v2/architect/ivrs which will provide you the DNIS.
If you are after historical calls then best to check the analytics section, you could start with POST /api/v2/analytics/conversations/aggregates/query gouping by dnis; something like:
{
"interval": "2019-01-27T00:00:00.000Z/2019-02-19T00:00:00.000Z",
"groupBy": [
"dnis"
],
"views": [],
"metrics": [
"nOffered"
]
}
cheers, Jean-Christophe
Deepak | 2019-02-19 13:41:12 UTC | #3
Thank you so much. It works.
system | 2019-03-22 13:50:46 UTC | #4
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: 4603