List companies accessible to the caller
Returns all companies accessible to the caller, derived from the gateway-injected X-Groups header (Entra group GUIDs map to company IDs).
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
List companies accessible to the caller › Responses
Companies retrieved successfully
createdAtupdatedAtcompanyIdcompanyNameaddressUpdate caller's profile
Updates the authenticated caller's profile in the local database. Identity is derived from the gateway-injected X-User-Id header.
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Update caller's profile › Request Body
userIdfirstNamelastNametutorialModeUpdate caller's profile › Responses
Profile update accepted
userIdfirstNamelastNametutorialModeisSyncedCheck caller's sync status
Compares Entra ID values against the database for the authenticated caller. Returns DB values (or nulls) and isSynced flag.
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Check caller's sync status › Request Body
userIdfirstNamelastNametutorialModeCheck caller's sync status › Responses
Sync status and database values returned
userIdfirstNamelastNametutorialModeisSynced
