Returns a list of all employee IDs registered in the system.
Endpoint: GET /api/auth/employees
Authentication: None
Result:
...
Registers a new user. The employee must already exist in GEMPLOY. Returns an api_token on success.
Endpoint: POST /api/auth/signup
Authentication: None
Result:
...
Signs in a user and returns an api_token. If another driver on the same route is already signed in, returns other_drivers_signed_in. Send confirm_login: true to force sign-in and clear the others.
Endpoint: POST /api/auth/signin
Authentication: None
Result:
...
Clears the api_token for the user, effectively signing them out of all devices.
Endpoint: POST /api/auth/signout
Authentication: None
Result:
...
Updates the user's password. Requires the current password to be provided.
Endpoint: POST /api/auth/password/update
Authentication: None
Result:
...
Generates a one-time password and sends it via SMS (AWS SNS) to the employee's phone number on file.
Endpoint: POST /api/auth/password/reset
Authentication: None
Result:
...