Skip to main content
QUERY
myUser: User

Returns

id
ID!
fullName
String!

The full name e.g. Grace Hopper.

publicName
String!

A short name for use in UI e.g. Grace.

avatarUrl
String

The avatar URL of the user.

The uploaded avatar for the user.

email
String!

The email associated with this user. Email is unique per user.

roles
[Role!]!

Retrieve roles for a specific workspace + user.

role

The role of the user in the workspace.

slackIdentities

Connected slack users to this Plain account.

labels
[Label!]!

The labels associated with this user.

defaultSavedThreadsView

The default saved threads view for this user.

status

The user's current availability status.

statusChangedAt

When the user's status was last changed.

workingHours

The user's configured working hours for automatic status switching.

createdAt
createdBy
updatedAt
updatedBy
isDeleted
Boolean!

Whether the user has been deleted from the workspace. Deleted users are still returned by queries so that historical references remain intact.

deletedAt
deletedBy
Query
Response