Home Support SMS API

Create Phone

Description: Create phones by batch.

Request Parameters Description:

Parameters Description Required Type

groupName

Name of phone group: 4-32 characters,no repetition is allowed under the same application.

Yes

String

phoneName

Phone name: 4-32 characters, no repetition is allowed under the same application.

Yes

String

quantity

Number of phones, interval: 1-50

Yes

Int

displayNum

Display number, 7-13 digits

No

String

appId

Audio application ID

Yes

String

Request URL:

                    
                      https://api.onbuka.com/v3/voice/sipAdd
                    
                  

Request Sample:

                    
                      RequestURL:
                        https://api.onbuka.com/v3/voice/sipAdd
                      RequestMethod:
                        POST
                      RequestHeaders:
                        Content-Type:application/json;charset=UTF-8
                        Sign:05d7a50893e22a5c4bb3216ae3396c7c
                        Timestamp:1630468800
                        Api-Key:bDqJFiq9
                      RequestBody:
                        {
                          "groupName":"sipGroup",
                          "phoneName":"sip",
                          "quantity":30,
                          "displayNum":"861000000",
                          "appId":"4luaKsL2"
                        }
                    
                  

Response Parameters Description:

Parameters Description Type

status

"0"means successful, others than 0 means failure, seeing Status code description.

String

reason

Failure reason description

String

data

By this method, it will return to null.

String

Response Sample:

                    
                      {
                        "status": "0",
                        "reason": "success",
                        "data": null
                      }
                    
                  
 

Feedback

0/500

Need help?

Click here and start chatting with us!