Other Types

Learn about the additional types used while creating, reading, updating, and deleting users via the API

The monday.com users API lets you manage and retrieve user information, including their settings, contact details, permissions, and more.

The object types below provide additional data structures used across the users API’s CRUD operations. They extend the core types documented in the main users reference and are used to create and configure users, update account details, and retrieve detailed user information.

ActivateUsersResult

An object containing the result of activating users via the API.

Field

Description

Supported Fields

activated_users [User!]

The users who were activated.

errors [ActivateUsersError!]

The errors that occurred during user activation. Use this field to check for calls that failed.

code ActivateUsersErrorCode
message String
user_id ID

ActivateUsersError

An object containing the error that occurred when an activate_users mutation fails.

Field

Description

Enum Values

code ActivateUsersErrorCode

The error code that occurred.

CANNOT_UPDATE_SELF
EXCEEDS_BATCH_LIMIT
FAILED
INVALID_INPUT
USER_NOT_FOUND

message String

The error message.

user_id ID

The unique identifier of the user that caused the error.


InviteUsersResult

An object containing the result of inviting users via the API.

FieldDescription
invited_users [User!]Data from the users who were successfully invited.
errors [InviteUsersError!]The errors that occurred during the invitation process. Use this field to check for calls that failed.

InviteUsersError

An object containing the error that occurred when an invite_users mutation fails.

FieldDescriptionEnum Values
code InviteUsersErrorCodeThe error code that occurred.ERROR
message StringThe error message.
email IDThe email of the user that caused the error.

UpdateEmailDomainAttributesInput

An object containing the attributes to update.

FieldDescription
new_domain String!The updated email domain.
user_ids [ID!]!The unique identifiers of the users to update. The maximum is 200.

UpdateUserAttributesResult

An object containing the result of updating users' attributes via the API.

FieldDescription
errors [UpdateUserAttributesError!]The errors that occurred while updating the users' attributes. Use this field to check for failed calls.
updated_users [User!]Data from the users who were updated.

UpdateUserAttributesError

An object containing the error that occurred when an update_multiple_users mutation fails.

FieldDescriptionEnum Values
code UpdateUserAttributesErrorCodeThe error code.INVALID_FIELD
message StringThe error message.
user_id IDThe unique identifier of the user that caused the error.

UpdateUsersEmailDomainResult

An object containing the result of updating a user's email domain via the API.

FieldDescription
errors [UpdateEmailDomainError!]The errors that occurred during the email domain update. Use this field to check for failed calls.
updated_users [User!]Data from the users who were updated.

UpdateEmailDomainError

An object containing the error that occurred when an update_email_domain mutation fails.

Field

Description

Enum values

code UpdateEmailDomainErrorCode

The error code that occurred.

CANNOT_UPDATE_SELF
EXCEEDS_BATCH_LIMIT
FAILED
INVALID_INPUT
UPDATE_EMAIL_DOMAIN_ERROR
USER_NOT_FOUND

message String

The error message.

user_id ID

The unique identifier of the user that caused the error.


UpdateUsersRoleResult

An object containing the result of updating a user's role via the API.

FieldDescription
errors [UpdateUsersRoleError!]The errors that occurred while updating the role. Use this field to check for calls that failed.
updated_users [User]!Data from the users who were updated.

UpdateUsersRoleError

An object containing the error that occurred when an update_users_role mutation fails.

Field

Description

Enum Values

code UpdateUsersRoleErrorCode

The error code that occurred.

CANNOT_UPDATE_SELF
EXCEEDS_BATCH_LIMIT
FAILED
INVALID_INPUT
USER_NOT_FOUND

message String

The error message.

user_id ID

The unique identifier of the user that caused the error.

UserUpdateInput

An object containing the user IDs and attributes to update.

FieldDescription
user_attribute_updates UserAttributesInput!The attributes to update.
user_id ID!The unique identifier of the user to update.

UserAttributesInput

An object containing the specific attributes to update.

FieldDescription
birthday StringThe user's updated birthday. Use YYYY-MM-DD format.
department StringThe user's updated department.
email StringThe user's updated email.
join_date StringThe user's updated join date. Use YYYY-MM-DD format.
location StringThe user's updated location.
mobile_phone StringThe user's updated mobile phone number.
name StringThe user's updated name.
phone StringThe user's updated phone number.
title StringThe user's updated title.