forked from nxtele/http-api-document
-
Notifications
You must be signed in to change notification settings - Fork 1
Callbot API mgrTaskStatus
henryou edited this page Sep 26, 2024
·
4 revisions
v1.0.0
Base URLs:
Please refer to the documentation at https://github.com/nxtele/http-api-document/wiki/Callbot-API-authorization
POST /callcentre/api/v3/mgrTaskStatus
Modify task status, such as starting, pausing, or completing a task.
{
"productID": "callbot",
"userTaskID": "string",
"taskOperate": 1,
"delCall": 0
}| Name | Type | Required | Description |
|---|---|---|---|
| requestID | string | Yes | Unique request ID |
| uuid | string | Yes | UUID provided by the callee |
| createTs | string | Yes | Request timestamp (in seconds) |
| sign | string | Yes | Signature |
| algorithm | string | No | Signature algorithm: MD5 or SHA256, default to MD5 if left blank |
| Name | Type | Required | Description |
|---|---|---|---|
| productID | string | Yes | Constant value "callbot" |
| userTaskID | string | Yes | Task ID of the requester (generated and guaranteed to be unique by the caller), it is recommended to use UUID |
| taskOperate | integer | Yes | |
| delCall | integer | No | Whether to delete undialed data, 0: none, 1: delete (use with caution) |
| Property | Value | Description |
|---|---|---|
| » taskOperate | 1 | Start |
| » taskOperate | 2 | Pause |
| » taskOperate | 3 | Complete |
200 Response
{
"retCode": 0,
"retMsg": "string",
"responseID": "string",
"taskID": "string",
"taskStatus": 1
}| 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 |
| 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 | 0 indicates success, others indicate failure |
| retMsg | string | true | none | Response message |
| responseID | string | true | none | Random unique ID used for request tracking, it needs to be provided when locating problems related to the request |
| taskID | string | true | none | Actual task ID returned by the callee |
| taskStatus | integer | true | none | Task status |
| Property | Value | Description |
|---|---|---|
| taskStatus | 1 | Task is pending |
| taskStatus | 2 | Task is in progress |
| taskStatus | 3 | Task is completed |
| taskStatus | 4 | Task is finished (failed) |
| taskStatus | 5 | Task is paused |
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号码
通用
号码检测