Description: Create phones by batch.
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 |
https://api.onbuka.com/v3/voice/sipAdd
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"
}
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 |
{
"status": "0",
"reason": "success",
"data": null
}
Feedback
Need help?
Click here and start chatting with us!