GoSmarter API Gateway
string · uuid · requiredstring · uuidstringstringbooleanstring · uuidstringstringbooleanboolean
string · uuid · requiredstring · uuidstringstringbooleanstring · uuidstringstringbooleanboolean
string · uuid · requiredstring · date-timestring · date-timestring · uuidstringstring
Check user sync status
POST
https://api.gosmarter.ai
/api/user/{userId}/sync-check
Compares Entra ID values against database. Returns DB values (or nulls) and isSynced flag.
path Parameters
userIdThe unique identifier of the user (must match authenticated user)
Check user sync status › Request Body
userIdfirstNamelastNametutorialModeCheck user sync status › Responses
Sync status and database values returned
userIdfirstNamelastNametutorialModeisSyncedUpdate user profile in database
PUT
https://api.gosmarter.ai
/api/user/{userId}
Updates a user's profile information in local database. Frontend updates Entra ID separately.
path Parameters
userIdThe unique identifier of the user to update (must match authenticated user)
Update user profile in database › Request Body
userIdfirstNamelastNametutorialModeUpdate user profile in database › Responses
User profile update accepted
userIdfirstNamelastNametutorialModeisSyncedList companies by IDs for a user
POST
https://api.gosmarter.ai
/api/user/{userId}/companies/list
Retrieves multiple companies in a single query based on an array of company IDs. Used during authentication to fetch all companies a user has access to. The userId in the route must match the authenticated user.
path Parameters
userIdThe user ID - must match the authenticated user
List companies by IDs for a user › Responses
Companies retrieved successfully
object[]
createdAtupdatedAtcompanyIdcompanyNameaddress
