Skip to main content

User model

Users are visitors (or contacts) interacting with your website. A User Model provides details on user attributes and parameters that can be used within API.

Note: In the current application UI, the entity previously called “user” is now labeled as “contact”. In the API, the term "user" is still used (e.g., User model, /users endpoints), and both terms refer to the same object.

Properties​

AttributesTypeDescription
idintegerA unique identifier for the user which is given by User.com automatically.
assigned_tointegerA unique identifier for the agent which is given by User.com automatically. States from assignment to the user.
browserstringA name of user's browser last used to visit your website.
browser_languagestringA user's browser language
citystringA city of the user based on the user's browser.
company_idintegerA unique identifier for the company which is given by User.com automatically.
countrystringA user's country (based on user's browser).
created_atdatetimeA creation date of a user.
custom_idstringThe unique identifier for the user which is provided by the client.
emailstring(email)A user email
facebook_urlstringA URL of user's Facebook profile.
first_seenstringA date for user's first website visit.
genderintegerA user gender (1 - unknown, 2 - male, 3 - female)
google_urlstringA URL of user's Google+ profile.
gravatar_urlstringA user avatar url from gravatar.
last_contacteddatetimeA date of last contact with user - any communication (email or chat, automated or otherwise) sent from your team to the user.
last_ipstringAn address IP (identifier assigned to each device, e.g., laptop, printer, mobile etc.) from the last user visit.
last_seendatetimeA date of last user's website visit.
linkedin_urlstringA URL of user's LinkedIn profile.
listslist(strings)A list of lists assigned to the user.
most_active_timestringMost Active Time is an attribute that is based on historical data determined by the hours of previous use and the most likely active use. Time in this attribute is positioned in the UTC timezone, and there's no possible way to change the timezone for the attribute.
namestringRead-only attribute, made from the combination of the first_name and last_name attributes.
notificationsbooleanA flag true/false informing if your team is receiving notifications about new chat messages from this user.
os_typestringAn operating system of the user’s device
page_viewsintegerA total number of user's page visits occurrences.
phone_numberstringA user phone number
regionstringA user's region (based on user's browser).
resolutionstringA screen resolution of the device the user has visited your website.
scoreintegerA number of points assinged to the user.
statusstringA user status (1 - visitor, 2 - user)
tagslist(strings)A list of tag names.
timezonestringA timezone of the user's browser.
twitter_urlstringA URL of user's Twitter profile.
unsubscribedbooleanA flag true/false informing if user is unsubscribed from emails.
updated_atdatetimeA date of last user update.
user_keystringA unique identifier (12 random characters) for the user which is given by User.com automatically.
web_push_subscriptionbooleanA flag true/false informing if user is unsubscribed from webpush.