Returns the currently logged-in user and workspace.

GET

Returns the currently logged-in user, including workspace information.

Required Permissions: Any authenticated user.

Response

OK

firstNamestringOptional=0 characters

The firstname of the user.

lastNamestringOptional=0 characters

The lastname of the user.

birthDatedatetimeOptional

The birthdate of the user.

genderstringOptional=0 characters

The gender of the user.

titlestringOptional=0 characters

The title of the user.

positionstringOptional=0 characters

The position of the user.

languagestringOptional=0 characters

The language preference of the user in ISO 639-1 format.

idstringOptional

The id of the user.

statusobjectOptional

The status of the user.

createdOndatetimeOptional

The date this user was created.

createdBystringOptional

The id of the user who created this user.

updatedOndatetimeOptional

The date when this user was last updated.

updatedBystringOptional

The id of the user who updated the entity.

isArchivedbooleanOptional

Whether this user is archived. Archived users are automatically inactive and only exist for reference purposes.

isDeactivatedbooleanOptional

Whether the user has been deactivated.

deactivatedOndatetimeOptional

The date the user was deactivated.

hasImagebooleanOptional

Whether the user has uploaded a profile image.

shouldMigrateToConnectbooleanOptional

Whether the user should be migrated to Connect.

userContactInfoslist of objectsOptional

The contact information assigned to this user.

resourceVersionlongOptional

The version of the entity, updated on every modification, to the ticks in UTC. Not identical to UpdatedOn.

tagslist of objectsOptional

The tags of this user.

teamslist of objectsOptional

The teams the user is associated to.

isExternalbooleanOptional

True if this entity is coming from an external workspace (awork Connect).

accountIdstringOptional

The account id of the user. Only used internally.

workspaceobjectOptional

The user’s current workspace model.