Hi,
Is it possible to add multiple users/ devices through the API?
I have followed the kazoo wiki documentation and have been able to add single users/devices. Just cannot figure out the syntax to add multiples at once
Does anyone have an example input of how to add multiple users at once?
for example
{
"data":{
"name":"Mr User1",
"sip":{
"password":"d3uc135790",
"device_type":"sip_device",
"username":"101",
"mac_address":"33:44:44:55:66:01"
},
"caller_id":{
"external":{
"number":"+19995550101"
}
},
"owner_id": "b8d2d7b3992b12bf8a34bd878fa8bc41"
}
],
"data":{
"name":"Mr User2",
"sip":{
"password":"d3uc135790",
"device_type":"sip_device",
"username":"102",
"mac_address":"33:44:44:55:66:02"
},
"caller_id":{
"external":{
"number":"+19995550102"
}
},
"owner_id": "b8d2d7b3992b12bf8a34bd878fa8bc42"
}
}
My objective is to be able to add multiple users/devices/voicemailboxes etc, for larger installs
if anyone has some tips, really would appreciate it
Thanks
MD