Skip to main content

Users Overview

Users represent an end user using the Platform API through your web or mobile app.

Users are created by MX clients and belong to a specific client on the platform.

User Fields

FieldData TypeDescription
accepted_terms_and_conditions_atStringThe timestamp when the user accepted the terms and conditions. Formatted as ISO 8601 datetime string.
born_onStringBirthdate of user, represented in ISO 8601 format (e.g. 2011-03-28)
credit_scoreIntegerThe user's credit score as a numerical value.
emailStringEmail address of the user.
email_is_verifiedBooleanIf the email is verified, this field will be true. Otherwise, this field will be false.
failed_login_attempts_countIntegerNumber of failed login attempts for the user. Defaults to 0.
first_nameStringThe user's first name.
genderStringGender of the user. Returns 0 for male and 1 for female.
guidStringThe unique identifier for the user defined by MX.
has_accepted_terms_and_conditionsBooleanIf updated terms and conditions are available for the end user, this field will be true. This field will return to false when the user has accepted the updated terms.
is_disabledBooleanIf the user is disabled, this field will be true. Otherwise, this field will be false.
is_restrictedBooleanIf the user is restricted, this field will be true. Otherwise, this field will be false.
last_nameStringThe user's last name.
logged_in_atStringDate and time the user last logged in, represented in ISO 8601 format with timestamp (e.g. 2015-04-13T12:01:23-00:00).
metadataStringAdditional information you can store about this user. MX recommends using JSON-structured data.
phoneStringThe user's phone number.
phone_is_verifiedBooleanVerifies the phone for the user. Returns true or false; defaults to false.
postal_codeStringUS ZIP codes and Canadian postal codes are supported. Valid formats are: 12345, 12345-6789, A1B2C3, or A1B 2C3.
On this page