Skip to content

IUser

Defined in: user/user.types.ts:4

A Zendesk user: an end user, agent or admin.

optional active?: boolean | null

Defined in: user/user.types.ts:6

False if the user has been deleted.


optional alias?: string | null

Defined in: user/user.types.ts:8

An alias displayed to end users.


optional chat_only?: boolean | null

Defined in: user/user.types.ts:10

Whether or not the user is a chat-only agent.


optional created_at?: string | null

Defined in: user/user.types.ts:12

The time the user was created.


optional custom_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.


optional default_group_id?: number | null

Defined in: user/user.types.ts:16

The id of the user’s default group.


optional details?: string | null

Defined in: user/user.types.ts:18

Any details you want to store about the user, such as an address.


optional email?: 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.


optional external_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.


optional iana_time_zone?: string | null

Defined in: user/user.types.ts:24

The time zone for the user.


optional id?: number | null

Defined in: user/user.types.ts:26

Automatically assigned when the user is created.


optional last_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.


optional locale?: 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.


optional locale_id?: number | null

Defined in: user/user.types.ts:32

The user’s language identifier.


optional moderator?: 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.


optional notes?: string | null

Defined in: user/user.types.ts:38

Any notes you want to store about the user.


optional only_private_comments?: boolean | null

Defined in: user/user.types.ts:40

True if the user can only create private comments.


optional organization_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.


optional phone?: string | null

Defined in: user/user.types.ts:44

The user’s primary phone number. See Phone Number below.


optional photo?: IAttachment | null

Defined in: user/user.types.ts:46

The user’s profile picture represented as an Attachment object.


optional remote_photo_url?: string | null

Defined in: user/user.types.ts:48

A URL pointing to the user’s profile picture.


optional report_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.


optional restricted_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.


optional role?: "end-user" | "agent" | "admin" | null

Defined in: user/user.types.ts:54

The user’s role.


optional role_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.


optional shared?: boolean | null

Defined in: user/user.types.ts:58

If the user is shared from a different Zendesk Support instance. Ticket sharing accounts only.


optional shared_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.


optional shared_phone_number?: boolean | null

Defined in: user/user.types.ts:62

Whether the phone number is shared or not. See Phone Number below.


optional signature?: string | null

Defined in: user/user.types.ts:64

The user’s signature. Only agents and admins can have signatures.


optional suspended?: 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.


optional tags?: string[] | null

Defined in: user/user.types.ts:68

The user’s tags. Only present if your account has user tagging enabled.


optional ticket_restriction?: "organization" | "groups" | "assigned" | "requested" | null

Defined in: user/user.types.ts:70

Specifies which tickets the user has access to.


optional time_zone?: string | null

Defined in: user/user.types.ts:72

The user’s time zone. See Time Zone.


optional two_factor_auth_enabled?: boolean | null

Defined in: user/user.types.ts:74

If two-factor authentication is enabled.


optional updated_at?: string | null

Defined in: user/user.types.ts:76

The time the user was last updated.


optional url?: string | null

Defined in: user/user.types.ts:78

The user’s API url.


optional user_fields?: Record<string, unknown> | null

Defined in: user/user.types.ts:80

Values of custom fields in the user’s profile. See User Fields.


optional verified?: boolean | null

Defined in: user/user.types.ts:82

Any of the user’s identities is verified. See User Identities.