forked from nxtele/http-api-document
-
Notifications
You must be signed in to change notification settings - Fork 1
Callbot API batchExportCall
henryou edited this page Sep 26, 2024
·
3 revisions
v1.0.0
Base URLs:
Please refer to the documentation for authentication:https://github.com/nxtele/http-api-document/wiki/Callbot-API-authorization
POST /callcentre/api/v3/exportBatchCall
Export the numbers from the previous batch.
| Response Code | Error Reason |
|---|---|
| 0 | Success |
| 1 | General Error |
| 2 | Missing Parameters |
| 3 | Parameter Format Error |
| 4 | Invalid Parameter Value |
| 4001 | Parameter Content Capacity Error (Too many array elements) |
| 5 | Server Maintenance |
| 5001 | Internal Server Error |
| 6 | Incorrect Signature |
| 6001 | Missing Signature Error |
| 6001 | Missing Signature Error |
| 6002 | Account Does Not Exist |
| 6003 | User Does Not Have Permission |
| 7 | System Busy |
Request Body
{
"productID": "string",
"userTaskID": "string"
}| Name | Position | Type | Required | Description |
|---|---|---|---|---|
| requestID | header | string | Yes | Unique request ID |
| uuid | header | string | Yes | UUID, please log in to the platform, click on Developer Authorization |
| createTs | header | string | Yes | Request timestamp (in seconds) |
| sign | header | string | Yes | Signature |
| algorithm | header | string | No | Signature algorithm: MD5 or SHA256, default to MD5 if left blank |
| Accept-Encoding | header | string | No | If "gzip" is specified, the response body will be compressed and returned. |
| body | body | object | No | none |
| productID | body | string | Yes | Fixed value: "callbot" |
| » userTaskID | body | string | Yes | Task ID generated by the requester (ensure uniqueness, recommended to use UUID) |
Example Response
200 Response
{
"retCode": 0,
"retMsg": "string",
"responseID": "string",
"totalCount": 0,
"batchID": "string",
"callList": [
{
"orderID": "string",
"userPhone": "string",
"other": "string",
"callID": "string",
"callStatus": 0,
"callStartTs": 0,
"intents": [
{
"intentID": "string",
"intentTag": "string",
"intentName": "string",
"intentLevel": 0
}
]
}
]
}| Status Code | Status Code Meaning | Description | Data Model |
|---|---|---|---|
| 200 | OK | Success | Inline |
| Name | Type | Required | Description |
|---|---|---|---|
| requestID | string | Yes | Consistent with the request header |
| uuid | string | Yes | Consistent with the request header |
| createTs | string | Yes | Second level timestamp at response time |
| sign | string | Yes | The generation method is the same as the sign generation algorithm in the request header. If the response body is compressed, it needs to be decompressed before verifying the signature. |
| algorithm | string | No | Consistent with the request header, signature algorithm: MD5 or SHA256, default to MD5 if not filled in |
Status Code 200
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
| » retCode | integer | true | none | Response code |
| » retMsg | string | true | none | Response message |
| » responseID | string | true | none | Response ID |
| » totalCount | integer | true | none | Total count |
| » batchID | string | true | none | Batch ID |
| » callList | [object] | true | none | Call List |
| »» orderID | string | false | none | Order ID |
| »» userPhone | string | false | none | Phone number |
| »» other | string | false | none | Additional field |
| »» callID | string | false | none | Call ID |
| »» callStatus | integer | false | none | Call status |
| »» callStartTs | integer | false | none | Call start timestamp |
| »» intents | [object] | false | none | Intents |
| »»» intentID | string | false | none | Intent tag ID |
| »»» intentTag | string | false | none | Intent tag |
| »»» intentName | string | false | none | Intent tag name |
| »»» intentLevel | integer | true | none | Intent tag level |
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
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号码
通用
号码检测