GSC POD API

Authentication

Get Registered Employees

Returns a list of all employee IDs registered in the system.

Endpoint: GET /api/auth/employees

Authentication: None


Try It Out


Result:

...

Signup

Registers a new user. The employee must already exist in GEMPLOY. Returns an api_token on success.

Endpoint: POST /api/auth/signup

Authentication: None


Try It Out


Result:

...

Signin

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


Try It Out


Result:

...

Signout

Clears the api_token for the user, effectively signing them out of all devices.

Endpoint: POST /api/auth/signout

Authentication: None


Try It Out


Result:

...

Change Password

Updates the user's password. Requires the current password to be provided.

Endpoint: POST /api/auth/password/update

Authentication: None


Try It Out


Result:

...

Reset Password

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


Try It Out


Result:

...