API开发文档

欢迎浏览我们的API开发文档!

获取全部路由

GET

/api/routes/:type

权限:呼叫流

Header
字段类型描述
Content-Type字符串应用或JSON
参数
字段类型描述
type字符串路由类型: [‘public’, ‘default’]
请求样例
/api/routes/public 
/api/routes/default




Public成功
HTTP/1.1 200 OK
 [{
     "did": "16471234567",
     "callflow": "xxxx_menu1"
 }, {
     "did": "16471234567",
     "callflow": "yyy_menu2"
 }]
Default成功
HTTP/1.1 200 OK
 [{
     "number": "202",
     "callflow": "xxxx_menu1"
 }, {
     "number": "500",
     "callflow": "yyy_menu2"
 }]

标签:
Table of Contents