Get User Info
Retrieves user-info for the currently authenticated user.
Response
OK
Example response
{
"agateLoginId": "1234567",
"ktIdP": "ZH123456",
"uid": "CHE123456789",
"givenName": "Anna",
"familyName": "Muster",
"email": "anna.muster@example.com",
"phoneNumber": "+41331234567",
"mobileNumber": "+41791234567",
"addressStreet": "Bahnhofstrasse 10",
"addressLocality": "Zürich",
"addressPostalCode": "8001",
"addressCountry": "CH",
"lastLoginDate": "2022-03-10T12:15:50",
"userPreferences": {
"mainMenuOpened": true,
"activeUid": "CHE123456789",
"dismissedMigratedIds": [
"a5b1d2e3-4f6a-2b7c-6d0e-9f1a3b5c7d9e"
],
"hasSeenConsentRequestTourIntro": true
},
"lastAcceptedAgbDate": "2022-03-10T12:15:50"
}Changes
Changed in 17 of the 56 revisions of this API.1916
- ○
added the optional property
lastAcceptedAgbDateto the response with the200statusresponse-optional-property-added
- ○
added the optional property
lastAcceptedAgbRevisionIdto the response with the200statusresponse-optional-property-added
- ○
- ●
removed the optional property
lastAcceptedAgbDatefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
lastAcceptedAgbRevisionIdfrom the response with the200statusresponse-optional-property-removed
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the optional property
lastAcceptedAgbDateto the response with the200statusresponse-optional-property-added
- ○
added the optional property
lastAcceptedAgbRevisionIdto the response with the200statusresponse-optional-property-added
- ○
- ○
added the optional property
mobileNumberto the response with the200statusresponse-optional-property-added
- ○
- ●
added the new
DATA_PROVIDER_ERRORenum value to thetyperesponse property for the response status404response-property-enum-value-added
- ●
added the new
DATA_PROVIDER_ERRORenum value to thetyperesponse property for the response status500response-property-enum-value-added
- ●
- ○
removed the
DATA_PROVIDER_ERRORenum value from thetyperesponse property for the response status404response-property-enum-value-removed
- ○
removed the
DATA_PROVIDER_ERRORenum value from thetyperesponse property for the response status500response-property-enum-value-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
added the new
DATA_PROVIDER_ERRORenum value to thetyperesponse property for the response status404response-property-enum-value-added
- ●
added the new
DATA_PROVIDER_ERRORenum value to thetyperesponse property for the response status500response-property-enum-value-added
- ●
- ●
added the new
OTP_EXPIREDenum value to thetyperesponse property for the response status404response-property-enum-value-added
- ●
added the new
OTP_EXPIREDenum value to thetyperesponse property for the response status500response-property-enum-value-added
- ●
added the new
OTP_INVALIDenum value to thetyperesponse property for the response status404response-property-enum-value-added
- ●
added the new
OTP_INVALIDenum value to thetyperesponse property for the response status500response-property-enum-value-added
- ●
added the new
OTP_LOCKEDenum value to thetyperesponse property for the response status404response-property-enum-value-added
- ●
added the new
OTP_LOCKEDenum value to thetyperesponse property for the response status500response-property-enum-value-added
- ●
added the new
OTP_RESEND_COOLDOWNenum value to thetyperesponse property for the response status404response-property-enum-value-added
- ●
added the new
OTP_RESEND_COOLDOWNenum value to thetyperesponse property for the response status500response-property-enum-value-added
- ●
- ○
added the optional property
userIdto the response with the200statusresponse-optional-property-added
- ○
- ○
added the optional property
userPreferences/hasSeenConsentRequestTourIntroto the response with the200statusresponse-optional-property-added
- ○