Deskhero Developer Hub
Back to deskhero.com
Account

Logged in

Landing point after an identity provider sign in, which completes whatever flow was started before the redirect (connecting an additional login method, verifying an email address for one, or accepting a workspace invite) and returns where to send the User next together with whether a multi factor challenge is required. When the email address still needs to be verified, a VERIFY_EMAIL action and the verification hash are returned instead.

GET /api/sys/v{version:apiVersion}/account/logged_in
Authorisation
No authentication needed

Request arguments

Name Type Source
Request body example
No input arguments

Response

Status
200 (OK)
Type
DTO_logged_in_response
Wrapper
DTO_response_wrap
Other statuses
400 (BadRequest), 403 (Forbidden)
Response body example
DTO_logged_in_response
NameTypeReadOnlyDescription
challenge_mfaBooleanChallenge mfa
actionENUM logged_in_response_actionAction
info_messagesString[]Can contain for example "Joined tenant". "Auth method Google added"
warning_messagesString[]Warning messages
redirect_urlStringRedirect url
verification_hashStringVerification hash
emailStringEmail
ENUM logged_in_response_action
ValueNameDescription
0UNKNOWNUNKNOWN
1REDIRECTREDIRECT
2SELECT_TENANTSELECT_TENANT
3CREATE_TENANTCREATE_TENANT
4CONTINUE_TO_APPCONTINUE_TO_APP
5LOGINLOGIN
6VERIFY_EMAILVERIFY_EMAIL

Generated Aug 4, 2026 18:37