Use this API to create a user. Users are people in your organization who use Azuga for tracking vehicles and reporting on performance and productivity. Users include drivers, as well, who are given limited access to the application.

Along with creating a user, this API also generates a unique user ID for this user. This ID will serve as a reference while making calls for updating and deleting information related to this user.

📘

Sample Request

https://api.azuga.com/azuga-ws/v1/users.json

{  
  "userTypeName":"user",
  "firstName":"Gereth",
   "lastName":"Kent",
   "roleId":"c33155b8-8672-11e2-b42f-b5c21df73708",
   "primaryContactNumber":"+14084806655",
   "password":"[email protected]",
   "email":"[email protected]",
   "timeZone":"US/Alaska",
   "groupIds":[  
      "65e376af-4fa9-11e3-89ec-5f7577f0d464",
      "52c1827c-a880-11e2-b8eb-4b0b74b2ae0d",
      "77bc3115-b84a-11e4-9a7a-398fa44c646c"
   ]
}

API Response explanation

FieldDescription
codeAPI status code
messageAPI Message (Success/Failure)
reasonReason for failure
generatedAtAPI generation timestamp in UTC
currentPageCurrent page of the paginated result
totalPagesTotal number of pages of the paginated result
resultUnique identifier representing the user
Language
Authentication
Header
Click Try It! to start a request and see the response here!