Create User

/create
Full Url:
Arguments:
  • token (required)
  • username (required)
  • email (required)
  • first_name (required)
  • last_name (required)
  • phone_number (required)
  • address (required)
  • city (required)
  • state (required)
  • zip (required)
Info: Create a restricted user, what more is there to say?
Example Success
{
"code": 200,
"status": "success",
"data": {
id: '23538', // teli user id
postpay: 'no',
master_id: '1',
reseller_id: null,
user_type: 'customer',
username: 'bobby',
first_name: 'Test,
last_name: 'RCust',
phone_number: '5555555555',
address: '123 Some Street',
city: 'Aurora',
state: 'CO',
zip: '80013',
user_status: 'active',
low_balance_amount: '5.00',
credit_line: 0,
chanlimit_outbound: 1,
chanlimit_inbound: 10,
max_international: 0.2,
sms_post_url: '',
sms_delivery_url: null,
web_hook_url: null,
fees_percent: '0.148400000',
did_sbc: '208.103.145.20',
restricted: 'yes',
sso_key: 'c7f6b998-4b4d-4bf6-a72a-xee32fwef23f',
brand: null,
domain: null,
apikey: '89257365-4db2-4238-a287-x23r23fx0' // token
}
}
Example Error
{
"code": 500,
"status": "error",
"data": "Could not create user"
}