CurrentUser
Updateable by the User Themself
type CurrentUser {
id: ID!
email: String
first_name: String
last_name: String
work_phone: String
mobile_phone: String
title: String
pagination_size: Int!
date_format: String
time_format: String
number_format: String
time_zone: String
theme: String
sidebar_collapsed_state: Boolean
export_field_preferences: JSON
contact_selected_field_preferences: JSON
show_drip_campaign_intro: Boolean
show_workflow_intro: Boolean
show_abandoned_cart_intro: Boolean
prefer_simple_segment_participants: Boolean
autosave_forms: Boolean
campaign_approver: Boolean
auth_token: String
authentication_source: AuthenticationSource
email_verified_at: DateTime
mobile_phone_verified_at: DateTime
product: Product!
primary_segment_id: Int
default_domain_group_id: ID
mfa_enabled: Boolean
banner_notifications: [Notification!]
}
Fields
CurrentUser.id
● ID!
non-null scalar
CurrentUser.email
● String
scalar
CurrentUser.first_name
● String
scalar
CurrentUser.last_name
● String
scalar
CurrentUser.work_phone
● String
scalar
CurrentUser.mobile_phone
● String
scalar
CurrentUser.title
● String
scalar
CurrentUser.pagination_size
● Int!
non-null scalar
CurrentUser.date_format
● String
scalar
Must adhere to moment.js docs (https://momentjs.com/docs/#/displaying/)
CurrentUser.time_format
● String
scalar
Must adhere to moment.js docs (https://momentjs.com/docs/#/displaying/)
CurrentUser.number_format
● String
scalar
CurrentUser.time_zone
● String
scalar
CurrentUser.theme
● String
scalar
the name of the theme the user prefers
CurrentUser.sidebar_collapsed_state
● Boolean
scalar
true = collapsed, false = expanded
CurrentUser.export_field_preferences
● JSON
scalar
CurrentUser.contact_selected_field_preferences
● JSON
scalar
CurrentUser.show_drip_campaign_intro
● Boolean
scalar
CurrentUser.show_workflow_intro
● Boolean
scalar
CurrentUser.show_abandoned_cart_intro
● Boolean
scalar
CurrentUser.prefer_simple_segment_participants
● Boolean
scalar
CurrentUser.autosave_forms
● Boolean
scalar
CurrentUser.campaign_approver
● Boolean
scalar
CurrentUser.auth_token
● String
scalar
CurrentUser.authentication_source
● AuthenticationSource
enum
CurrentUser.email_verified_at
● DateTime
scalar
CurrentUser.mobile_phone_verified_at
● DateTime
scalar
CurrentUser.product
● Product!
non-null object
CurrentUser.primary_segment_id
● Int
scalar
CurrentUser.default_domain_group_id
● ID
scalar
CurrentUser.mfa_enabled
● Boolean
scalar
CurrentUser.banner_notifications
● [Notification!]
list object
Returned By
loginUser
mutation ● me
query ● resetPassword
mutation ● updateCurrentUser
mutation ● updateUserPassword
mutation
Member Of
SubProduct
object