forked from nxtele/http-api-document
-
Notifications
You must be signed in to change notification settings - Fork 1
预测试外呼回执回调
ben.zhuang edited this page Oct 14, 2022
·
1 revision
简要描述:
- 用于实时回调预测式外呼信息
推送请求URL:
- 提供回调推送
请求方式:
- POST
推送参数:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| type | 是 | int | 类别,1 坐席状态 2 号码呼叫状态 |
| callid | 是 | int | 接入号 |
| sipid | 否 | string | 坐席话机id |
| username | 否 | string | 坐席话机名称 |
| agentid | 否 | string | 坐席UUID |
| state | 是 | int | 状态码 0: 坐席挂机 1: 创建呼叫 2: 坐席等待呼入 3: 呼叫接通 4: 呼叫挂机 |
| info | 是 | string | 状态信息 0:Seats hungup 1: Phone calling 2: Seats ready 3: Phone seats answer 4: Phone seats hungup |
| time | 是 | string | 状态时间(Unix timestamp) |
| callphone | 否 | string | 被叫号码 |
| uuid | 否 | string | UUID |
推送json参数示例
{"info":"Seats ready","time":"1558677726435364","callid":"104906","type":1,"agentid":"88e64026-d56b-4dc5-829c-7a7a9f2a1485","state":2,"sipid":"1049002","username":"6122312312"}
{"info":"Phone answer","time":"1558677793395365","uuid":"5c6f5869-752d-46fd-8ac0-797f83222279","state":3,"type":1,"callid":"104906","callphone":"812345613","agentid":"88e64026-d56b-4dc5-829c-7a7a9f2a1485","sipid":"1049002","username":"6122312312"}
{"info":"Phone calling","time":"1558677782655356","callphone":"812345613","callid":"104906","type":2,"uuid":"5c6f5869-752d-46fd-8ac0-797f83222279","state":1}
{"info":"Phone answer","time":"1558677793055398","callphone":"812345613","callid":"104906","type":2,"uuid":"5c6f5869-752d-46fd-8ac0-797f83222279","state":3}
{"info":"Phone hungup","time":"1558678152815399","callphone":"812345613","callid":"104906","type":2,"uuid":"5c6f5869-752d-46fd-8ac0-797f83222279","state":4}
{"info":"Phone hungup","time":"1558678152815399","uuid":"5c6f5869-752d-46fd-8ac0-797f83222279","state":4,"type":1,"callid":"104906","callphone":"812345613","agentid":"88e64026-d56b-4dc5-829c-7a7a9f2a1485","sipid":"1049002","username":"6122312312"}
备注
- 无
Introduction
- Send Message
- Mark Incoming Message as Read
- Upload Media File
- Get Media File
- Delete Media File
- Webhook
- Query Number Information
- Query Message Template
- Create Message Template
- Edit Message Template
- Delete Message Template
- Upload Template Example File
- Embedded Page Login
- Create Client Application
- List of Phone Numbers for Client Application
- Get Verification Code
- Verify Verification Code
- Create Local Client
Short message
Voice
Call Center(NXLink)
- Web Iframe
- Manual Dial Record
- Manual Dial Record Query By orderId
- List Agent Information
- List Agent Status
- List Queue
- List Agents In Queue
- List Agent Efficiency
- Update Queue Agents
- Create AutoDial Task
- Webhook - Manual Dial
AI Agent(NXLink)
- AI Agent Task List
- Query Call Records
- Append Contacts to an Existing Task
- Delete Contacts
- Call Record Callback
Call Center(Callbot)
- Callbot API Summary
- Callbot API Authorization
- Callbot API Ping
- Create Auto Dial Task
- Add Contact List To Task
- Create Task And Add Contact
- Start Or Pause Task
- Update Task Parameters
- Get List Task
- List Call
- List Task Orders
- Stop Order
- Get Call Detail By Order
- Webhook - By Call
- Webhook - By Order
- Webhook - Task Status
Flash Call
Short links
邮件验证码
DID号码
通用
号码检测