IUser
Defined in: user/user.types.ts:4
A Zendesk user: an end user, agent or admin.
Properties
Section titled “Properties”active?
Section titled “active?”
optionalactive?:boolean|null
Defined in: user/user.types.ts:6
False if the user has been deleted.
alias?
Section titled “alias?”
optionalalias?:string|null
Defined in: user/user.types.ts:8
An alias displayed to end users.
chat_only?
Section titled “chat_only?”
optionalchat_only?:boolean|null
Defined in: user/user.types.ts:10
Whether or not the user is a chat-only agent.
created_at?
Section titled “created_at?”
optionalcreated_at?:string|null
Defined in: user/user.types.ts:12
The time the user was created.
custom_role_id?
Section titled “custom_role_id?”
optionalcustom_role_id?:number|null
Defined in: user/user.types.ts:14
A custom role if the user is an agent on the Enterprise plan or above.
default_group_id?
Section titled “default_group_id?”
optionaldefault_group_id?:number|null
Defined in: user/user.types.ts:16
The id of the user’s default group.
details?
Section titled “details?”
optionaldetails?:string|null
Defined in: user/user.types.ts:18
Any details you want to store about the user, such as an address.
email?
Section titled “email?”
optionalemail?:string|null
Defined in: user/user.types.ts:20
The user’s primary email address. *Writeable on create only. On update, a secondary email is added. See Email Address.
external_id?
Section titled “external_id?”
optionalexternal_id?:string|null
Defined in: user/user.types.ts:22
A unique identifier from another system. The API treats the id as case insensitive. Example: “ian1” and “IAN1” are the same value.
iana_time_zone?
Section titled “iana_time_zone?”
optionaliana_time_zone?:string|null
Defined in: user/user.types.ts:24
The time zone for the user.
optionalid?:number|null
Defined in: user/user.types.ts:26
Automatically assigned when the user is created.
last_login_at?
Section titled “last_login_at?”
optionallast_login_at?:string|null
Defined in: user/user.types.ts:28
Last time the user signed in to Zendesk Support or made an API request using an API token or basic authentication.
locale?
Section titled “locale?”
optionallocale?:string|null
Defined in: user/user.types.ts:30
The user’s locale. A BCP-47 compliant tag for the locale. If both “locale” and “locale_id” are present on create or update, “locale_id” is ignored and only “locale” is used.
locale_id?
Section titled “locale_id?”
optionallocale_id?:number|null
Defined in: user/user.types.ts:32
The user’s language identifier.
moderator?
Section titled “moderator?”
optionalmoderator?:boolean|null
Defined in: user/user.types.ts:34
Designates whether the user has forum moderation capabilities.
name:
string|null
Defined in: user/user.types.ts:36
The user’s name.
notes?
Section titled “notes?”
optionalnotes?:string|null
Defined in: user/user.types.ts:38
Any notes you want to store about the user.
only_private_comments?
Section titled “only_private_comments?”
optionalonly_private_comments?:boolean|null
Defined in: user/user.types.ts:40
True if the user can only create private comments.
organization_id?
Section titled “organization_id?”
optionalorganization_id?:number|null
Defined in: user/user.types.ts:42
The id of the user’s organization. If the user has more than one organization memberships, the id of the user’s default organization. If updating, see Organization ID.
phone?
Section titled “phone?”
optionalphone?:string|null
Defined in: user/user.types.ts:44
The user’s primary phone number. See Phone Number below.
photo?
Section titled “photo?”
optionalphoto?:IAttachment|null
Defined in: user/user.types.ts:46
The user’s profile picture represented as an Attachment object.
remote_photo_url?
Section titled “remote_photo_url?”
optionalremote_photo_url?:string|null
Defined in: user/user.types.ts:48
A URL pointing to the user’s profile picture.
report_csv?
Section titled “report_csv?”
optionalreport_csv?:boolean|null
Defined in: user/user.types.ts:50
This parameter is inert and has no effect. It may be deprecated in the future. Previously, this parameter determined whether a user could access a CSV report in a legacy Guide dashboard. This dashboard has been removed. See Announcing Guide legacy reporting upgrade to Explore.
restricted_agent?
Section titled “restricted_agent?”
optionalrestricted_agent?:boolean|null
Defined in: user/user.types.ts:52
If the agent has any restrictions; false for admins and unrestricted agents, true for other agents.
optionalrole?:"end-user"|"agent"|"admin"|null
Defined in: user/user.types.ts:54
The user’s role.
role_type?
Section titled “role_type?”
optionalrole_type?:0|1|2|3|4|5|null
Defined in: user/user.types.ts:56
The user’s role id. 0 for a custom agent, 1 for a light agent, 2 for a chat agent, 3 for a chat agent added to the Support account as a contributor (Chat Phase 4), 4 for an admin, and 5 for a billing admin.
shared?
Section titled “shared?”
optionalshared?:boolean|null
Defined in: user/user.types.ts:58
If the user is shared from a different Zendesk Support instance. Ticket sharing accounts only.
shared_agent?
Section titled “shared_agent?”
optionalshared_agent?:boolean|null
Defined in: user/user.types.ts:60
If the user is a shared agent from a different Zendesk Support instance. Ticket sharing accounts only.
shared_phone_number?
Section titled “shared_phone_number?”
optionalshared_phone_number?:boolean|null
Defined in: user/user.types.ts:62
Whether the phone number is shared or not. See Phone Number below.
signature?
Section titled “signature?”
optionalsignature?:string|null
Defined in: user/user.types.ts:64
The user’s signature. Only agents and admins can have signatures.
suspended?
Section titled “suspended?”
optionalsuspended?:boolean|null
Defined in: user/user.types.ts:66
If the agent is suspended. Tickets from suspended users are also suspended, and these users cannot sign in to the end user portal.
optionaltags?:string[] |null
Defined in: user/user.types.ts:68
The user’s tags. Only present if your account has user tagging enabled.
ticket_restriction?
Section titled “ticket_restriction?”
optionalticket_restriction?:"organization"|"groups"|"assigned"|"requested"|null
Defined in: user/user.types.ts:70
Specifies which tickets the user has access to.
time_zone?
Section titled “time_zone?”
optionaltime_zone?:string|null
Defined in: user/user.types.ts:72
The user’s time zone. See Time Zone.
two_factor_auth_enabled?
Section titled “two_factor_auth_enabled?”
optionaltwo_factor_auth_enabled?:boolean|null
Defined in: user/user.types.ts:74
If two-factor authentication is enabled.
updated_at?
Section titled “updated_at?”
optionalupdated_at?:string|null
Defined in: user/user.types.ts:76
The time the user was last updated.
optionalurl?:string|null
Defined in: user/user.types.ts:78
The user’s API url.
user_fields?
Section titled “user_fields?”
optionaluser_fields?:Record<string,unknown> |null
Defined in: user/user.types.ts:80
Values of custom fields in the user’s profile. See User Fields.
verified?
Section titled “verified?”
optionalverified?:boolean|null
Defined in: user/user.types.ts:82
Any of the user’s identities is verified. See User Identities.