Register - Create
/create
Arguments:
- token (string, required)
- account_type (device or server, required)
- username (string, required)
- password (string, required)
Info: This will create a sip account for you. account_type needs to be either "server" or "device", depending on if you intend to have a sip server (e.g. Asterisk) connect, or a device (e.g. soft phone) connect.
Example Success
{
"code": 200,
"status": "success",
"data": "Successfully created sip account"
}
Example Error
{
"code": 400,
"status": "error",
"data": "Missing variable: account_type"
}