post https://api.azuga.com/azuga-ws/v1/token.json?username=&password=
Use this API to generate an access token for using the Azuga FleetMobile application.
Sample Request
https://api.azuga.com/azuga-ws/v1/[email protected]&password=p@ssw0rd1#
API Response explanation
Field | Description |
---|---|
code | Status Code |
message | Error message (if any) |
generatedAt | API generation timestamp in formatted UTC string |
generatedAtInMillis | API generation timestamp in milliseconds |
userName | Username of the account |
firstName | First name of the user |
lastName | Last name of the user |
Email address of the user | |
paired | Flag to indicate if the user has an associated vehicle |
profilepicUrl | Link to the user's profile picture |
deviceSerialNumber | The serial number of the Azuga device which is plugged into the associated vehicle or not |
vehicleId | Unique identifier of the associated vehicle |
name | Name of the associated vehicle |
make | Make of the associated vehicle |
model | Model of the associated vehicle |
year | Model of the associated vehicle |
vin | VIN (Vehicle Identification Number) of the associated vehicle |
licensePlateNum | License plate number of the associated vehicle |
token | Access token for authorization |
Disclaimer
This API provides information only for a driver and does not provide aggregated information for a group of vehicles. Admins should not use these APIs, but should look at other sections of the documentation.