v1

latestSwagger 2.0BSD License2026-08-04346147268.3 KB
api

Endpoint that accepts id_token of google user, verifies it, fetches data about that google user, and tries to find matching Employee

post/api/employees/login/google

Request body

tokenstring

Google User id_token

Response

success

idstring uuid
namestring required
emailstring email required
slack_uidstring nullable required
rolestring uuid nullable
companystring uuid
userstring uuid
is_adminboolean
is_managerstring
avatar_imagestring uri nullable
pointsinteger
levelstring
google_idstring