Deskhero Developer Hub
Back to deskhero.com
Account

Get startup properties

Returns everything a client needs at start up: the signed in User with the role and groups they hold in the current tenant, all tenants they belong to, pending workspace invites, the current session and login method, tenant defaults, settings and integrations, disabled features, system banner messages and the next login action. Callable without being signed in, in which case only the environment level properties and the login action are filled in.

GET /api/{tenant:minlength(2)}/v{version:apiVersion}/account/get_startup_properties
Authorisation
No authentication needed

Request arguments

Name Type Source
debug_top_bannerInt32Query
Request body example

Response

Status
200 (OK)
Type
DTO_start_up
Wrapper
DTO_response_wrap
Other statuses
400 (BadRequest)
Response body example
DTO_start_up
NameTypeReadOnlyDescription
userDTO_user_personalUser
tenantsDTO_tenant[]Tenants
tenant_invitesDTO_user_invite_tenant[]Tenant invites
authenticated_asDTO_user_auth_methodAuthenticated as
tenant_defaultsDTO_tenant_defaultsTenant defaults
tenant_currentDTO_tenantTenant current
system_messagesDTO_system_message[]System messages
user_sessionDTO_user_sessionUser session
menu_itemsDTO_menu_item[]Menu items
disabled_featuresDTO_disabled_featuresDisabled features
last_active_tenant_idInt32Last active tenant id
baseurl_staticsStringBaseurl statics
login_actionENUM logged_in_response_actionLogin action
redirect_toStringRedirect to
tenant_integrationsDTO_tenant_integrationsTenant integrations
tenant_phone_requiredBooleanTenant phone required
DTO_user_personal
NameTypeReadOnlyDescription
phone_numberStringPhone number
phone_number_verifiedBooleanPhone number verified
mfa_statusENUM user_mfa_statusMfa status
tenant_userDTO_tenant_userTenant user
created_byDTO_reference_userReadOnlyCreated by
last_updated_byDTO_reference_userReadOnlyLast updated by
languageDTO_translation_languageReadOnlyLanguage
idInt32ReadOnlyId
emailStringEmail
given_nameStringGiven name
family_nameStringFamily name
full_nameStringReadOnlyName
profile_picStringReadOnlyProfile pic
createdDateTimeReadOnlyCreated
last_updatedDateTimeReadOnlyLast updated
display_absolute_timeBooleanReadOnlyDisplay absolute time
DTO_tenant_user
NameTypeReadOnlyDescription
groupsDTO_reference_is_admin[]Groups
notification_mentionsDTO_notification_channelNotification mentions
notification_assignedDTO_notification_channelNotification assigned
idInt32ReadOnlyId
tenant_idInt32Tenant id
user_idInt32User id
roleENUM tenant_user_roleRole
statusENUM tenant_user_statusStatus
last_seenDateTimeLast seen
DTO_reference_is_admin
NameTypeReadOnlyDescription
is_adminBooleanReadOnlyIs admin
idInt32Id
labelObjectReadOnlyLabel
DTO_notification_channel
NameTypeReadOnlyDescription
emailBooleanEmail
inappBooleanInapp
DTO_reference_user
NameTypeReadOnlyDescription
profile_picStringReadOnlyProfile pic
emailStringReadOnlyEmail
idInt32Id
labelObjectReadOnlyLabel
DTO_translation_language
NameTypeReadOnlyDescription
idInt32ReadOnlyLeave empty on input
nameStringName
codeStringCode
iconStringReadOnlyIcon
icon_sqareStringReadOnlyIcon sqare
DTO_tenant
NameTypeReadOnlyDescription
languageDTO_translation_languageLanguage
mailboxesDTO_reference_mailbox[]Mailboxes
idInt32ReadOnlyId
friendly_nameStringFriendly name
unique_nameStringUnique name
fqdnStringReadOnlyFqdn
createdDateTimeCreated
user_countInt32ReadOnlyUser count
logoStringReadOnlyLogo
planENUM tenant_planReadOnlyPlan
expired_trialBooleanReadOnlyExpired trial
time_zoneStringTime zone
DTO_reference_mailbox
NameTypeReadOnlyDescription
typeENUM mailbox_typeReadOnlyType
statusENUM mailbox_statusReadOnlyStatus
idInt32Id
labelObjectReadOnlyLabel
DTO_user_invite_tenant
NameTypeReadOnlyDescription
tenantDTO_tenantTenant
groupsDTO_reference[]Groups
idInt32ReadOnlyId
emailStringEmail
tenant_roleENUM tenant_user_roleTenant role
expires_dateDateTimeReadOnlyExpires date
expires_relativeStringReadOnlyExpires relative
DTO_reference
NameTypeReadOnlyDescription
idInt32The id of the reference
labelObjectReadOnlyName/Label from referenced object.
DTO_user_auth_method
NameTypeReadOnlyDescription
idInt32ReadOnlyId
auth_idpENUM auth_idpAuth idp
connected_idpsauth_idp[]Connected idps
statusENUM auth_method_statusStatus
emailStringEmail
createdDateTimeCreated
DTO_tenant_defaults
NameTypeReadOnlyDescription
ticket_statusDTO_referenceTicket status
ticket_priorityDTO_referenceTicket priority
groupDTO_referenceGroup
DTO_system_message
NameTypeReadOnlyDescription
iconDTO_iconIcon
titleStringTitle
message_htmlStringMessage html
cta_textStringCta text
cta_urlStringCta url
color_paletteStringColor palette
dismissableBooleanDismissable
DTO_icon
NameTypeReadOnlyDescription
idInt32Id
nameStringName
fileStringFile
tagsString[]Tags
categoriesString[]Categories
DTO_user_session
NameTypeReadOnlyDescription
idStringId
auth_idpENUM auth_idpAuth idp
session_typeENUM user_session_typeSession type
user_agentStringUser agent
browserStringBrowser
ip_addressStringIp address
ip_countryStringIp country
ip_country_infoDTO_countryIp country info
ip_regionStringIp region
ip_cityStringIp city
labelStringLabel
createdDateTimeCreated
last_activeDateTimeLast active
DTO_country
NameTypeReadOnlyDescription
idInt32Id
nameStringName
code2StringCode2
code3StringCode3
timezoneStringTimezone
dialcodeInt32Dialcode
is_eu_countryBooleanIs eu country
currency_codesString[]Currency codes
DTO_menu_item
NameTypeReadOnlyDescription
sectionStringSection
keyStringKey
labelStringLabel
urlStringUrl
DTO_disabled_features
NameTypeReadOnlyDescription
mailbox_typesmailbox_type[]Mailbox types
ui_featuresui_features[]Ui features
DTO_tenant_integrations
NameTypeReadOnlyDescription
shopifyBooleanShopify
ENUM user_mfa_status
ValueNameDescription
0UNKNOWNUNKNOWN
1NOT_SETNOT_SET
2ENABLEDENABLED
3DISABLEDDISABLED
ENUM tenant_user_role
ValueNameDescription
0UNKNOWNUNKNOWN
1OWNEROwner
2ADMINAdmin
3USERUser
ENUM tenant_user_status
ValueNameDescription
0UNKNOWNUNKNOWN
1ACTIVEACTIVE
2DEACTIVEDEACTIVE
ENUM tenant_plan
ValueNameDescription
0UNKNOWNUNKNOWN
1FREEFREE
2SMALLSMALL
3MEDIUMMEDIUM
4LARGELARGE
ENUM mailbox_type
ValueNameDescription
0UNKNOWNUNKNOWN
1PLATFORM_PROVIDEDBuilt in @tenant.deskhero.com
2DNSDNS setup / Custom Email domain
3MICROSOFTAuth2 Microsoft365 provided
4GOOGLEAuth2 Google provided
ENUM mailbox_status
ValueNameDescription
0UNKNOWNUNKNOWN
1ACTIVEACTIVE
2ACTIVATION_IN_PROGRESSACTIVATION_IN_PROGRESS
101REQUIRE_REAUTHREQUIRE_REAUTH
102REQUIRE_FORWARDREQUIRE_FORWARD
ENUM auth_idp
ValueNameDescription
0UNKNOWNUNKNOWN
1COGNITO_INTERNALCOGNITO_INTERNAL
2GOOGLEGOOGLE
3FACEBOOKFACEBOOK
4EXTERNAL_ADEXTERNAL_AD
5MICROSOFTMICROSOFT
ENUM auth_method_status
ValueNameDescription
0UNKNOWNUNKNOWN
1ACTIVEACTIVE
2DISABLEDDISABLED
3VERIFICATION_IN_PROGRESSVERIFICATION_IN_PROGRESS
4VERIFICATION_DENIEDVERIFICATION_DENIED
ENUM user_session_type
ValueNameDescription
0UNKNOWNUNKNOWN
1COOKIECOOKIE
2JWT_TOKENJWT_TOKEN
-1ALLALL
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