Home Support SMS API

Create Agents in Batches

Description: Create agents in batches.

Request Parameters Description:

Parameters Description Required Type

voiceGroupId

Agent group ID(Agent group query returns voiceGroupId)

Yes

Integer

size

Number of agents created

Yes

Integer

displayNum

Display number

No

String

ccode

Country code (phonetic country code)

No

String

Request URL:

                    
                        https://api.onbuka.com/v3/cc/seat/addSeatList
                    
                  

Request Sample:

                                                
                                                    Request URL:
                                                        https://api.onbuka.com/v3/cc/seat/addSeatList
                                                    Request Method:
                                                        POST
                                                    Request Headers:
                                                        Content-Type: application/json;charset=UTF-8
                                                        Sign: 05d7a50893e22a5c4bb3216ae3396c7c
                                                        Timestamp: 1630468800
                                                        Api-Key: bDqJFiq9
                                                    Request Body:
                                                    {
                                                        "voiceGroupId": 12,
                                                        "size":12,
                                                        "displayNum":"1234",
                                                        "ccode":"91"
                                                    }
                                                
                  

Response Parameters Description:

Parameters Description Type

status

status code,0 is successful. For other failures, please refer to the interface response code

String

reason

Failure reason description

String

data

JSONArray

keyId

Agent ID

Integer

name

name

String

Response Sample:

                                                
                                                    {
                                                        "status": "0",
                                                        "reason": "success",
                                                        "data": [
                                                            {
                                                                "keyId": 1,
                                                                "name": "123"
                                                            }
                                                        ]
                                                    }
                                                
                  
 

Previous Topic: Recording File Deletion
Next Topic: BUKA SDK

Feedback

0/500

Need help?

Click here and start chatting with us!