Available fields: name, username, password, role, phone

REQUEST

POST https://api.hellotracks.com/api/createaccount

{
   "data": {
      "name": "John Doe",
      "username": "johndoe@myservice.com",
      "password" : "secretpassword123",
      "role" : "worker",
      "phone" : "+14151234567"
   }
}
name
string
required
Name of the user. Mandatory.
username
string
required
Username, typically an email. Mandatory.
password
string
Password for the account. Optional, if not set, member will receive an invite via email or SMS.
role
string
default:"worker"
Role of the user. Options are worker, operator, administrator. Default is worker.
phone
string
Phone number of the user. Optional.
See also Member-API-Object to see properties of a member.

RESPONSE

{"status":0, "uid": "<uid-of-newly-created-member>", "account" : <member-object>}