Create a SIP user that can register to our platform

/create

Full Url: https://apiv1.teleapi.net/sipaccounts/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"
}

results matching ""

    No results matching ""