Skip to content

NXCC API queueAgentsUpdate

henryou edited this page May 17, 2024 · 1 revision

Bulk Adding and Removing Agents in an Agent Group

  • URL:https://api2.nxcloud.com/saas/cc/openapi/agentGroup/updateMembers
  • Method:POST
  • Content-Type:application/json
  • Required:yes

Authentication Mechanism

For authentication rules, please refer to: API Interface Call Agreement

Request Parameters

header Parameters:

Parameter Name Type Required Example Value Description
accessKey String Y fme2na3kdi3ki User identity identifier
ts String Y 1655710885431 Timestamp of the current request (in milliseconds). The NX server allows a maximum time error of 60 seconds for client requests.
bizType String Y 8 Business type, fixed value “8”
action String Y cc Business operation, fixed value “cc”
sign String Y 6e9506557d1f289501d333ee2c365826 API parameter signature, Signature Algorithm

body :

Parameter Name Type Required Example Value Description
tenantId Integer Y 144 Team ID, obtained and configured from the Niuxin page
queueNo string Y none Agent group number (unique value)
members list Y none List of agent SIP extension numbers

Request Example

body(application/json):

{
    "tenantId": 144,
  	"queueNo": "NXQueue0001",
  	"members": ["NXAgent0001","NXAgent002","NXAgent003"]
}

Response Parameters

Parameter Name Type Description
code Integer Result code
data Object Request result
msg String Result message

Response

Successful Response

{
    "reqId": "a23738fb613d889026fa2c8f4e4378f1",
    "code": 0,
    "msg": "Success",
    "data": null
}

Failure Response

{
  "reqId": "FFDD1791E22F4D9DBA967C245C58E544",
  "code": 1001,
  "msg": "Authorization Failed",
  "data": {}
}

Response Code Description

Code Message Resolution
0 Success
88 Failure Please contact technical support to troubleshoot
99 System Error Please contact technical support to troubleshoot
1000~100X Authorization Failed See the API authentication section for details

Introduction

WhatsApp

Short message

Voice

Call Center(NXLink)

Call Center(Callbot)

Flash Call

Short links

邮件验证码

DID号码

通用

号码检测

Clone this wiki locally