Skip to main content

UserAlert

alert_idinteger
alerted_user_idinteger
user_idinteger
usernamestring
content_typestring
content_idinteger
actionstring
event_dateinteger
view_dateinteger
read_dateinteger
auto_readboolean
alert_textstring
alert_urlstring
User object

Information about the user. Different information will be included based on permissions and verbosity.

aboutstring
activity_visibleboolean
ageinteger

The user's current age. Only included if available.

alert_optoutundefined[]
allow_post_profilestring
allow_receive_news_feedstring
allow_send_personal_conversationstring
allow_view_identitiesstring
allow_view_profilestring
avatar_urlsobject

Maps from size types to URL.

profile_banner_urlsobject

Maps from size types to URL.

can_banboolean
can_converseboolean
can_editboolean
can_followboolean
can_ignoreboolean
can_post_profileboolean
can_view_profileboolean
can_view_profile_postsboolean
can_warnboolean
content_show_signatureboolean
creation_watch_statestring
custom_fieldsobject

Map of custom field keys and values.

custom_titlestring

Will have a value if a custom title has been specifically set; prefer user_title instead.

dobobject

Date of birth with year, month and day keys.

emailstring
email_on_conversationboolean
gravatarstring
interaction_watch_stateboolean
is_adminboolean
is_bannedboolean
is_discouragedboolean
is_followedboolean

True if the visitor is following this user. Only included if visitor is not a guest.

is_ignoredboolean

True if the visitor is ignoring this user. Only included if visitor is not a guest.

is_moderatorboolean
is_super_adminboolean
last_activityinteger

Unix timestamp of user's last activity, if available.

locationstring
push_on_conversationboolean
push_optoutundefined[]
receive_admin_emailboolean
secondary_group_idsundefined[]
show_dob_dateboolean
show_dob_yearboolean
signaturestring
timezonestring
use_tfaboolean
user_group_idinteger
user_statestring
user_titlestring
visibleboolean
warning_pointsinteger

Current warning points.

websitestring
view_urlstring
user_idinteger
usernamestring
message_countinteger
question_solution_countinteger
register_dateinteger
trophy_pointsinteger
is_staffboolean
reaction_scoreinteger
vote_scoreinteger
UserAlert
{
"alert_id": 0,
"alerted_user_id": 0,
"user_id": 0,
"username": "string",
"content_type": "string",
"content_id": 0,
"action": "string",
"event_date": 0,
"view_date": 0,
"read_date": 0,
"auto_read": true,
"alert_text": "string",
"alert_url": "string",
"User": {
"about": "string",
"activity_visible": true,
"age": 0,
"alert_optout": [
null
],
"allow_post_profile": "string",
"allow_receive_news_feed": "string",
"allow_send_personal_conversation": "string",
"allow_view_identities": "string",
"allow_view_profile": "string",
"avatar_urls": {},
"profile_banner_urls": {},
"can_ban": true,
"can_converse": true,
"can_edit": true,
"can_follow": true,
"can_ignore": true,
"can_post_profile": true,
"can_view_profile": true,
"can_view_profile_posts": true,
"can_warn": true,
"content_show_signature": true,
"creation_watch_state": "string",
"custom_fields": {},
"custom_title": "string",
"dob": {},
"email": "string",
"email_on_conversation": true,
"gravatar": "string",
"interaction_watch_state": true,
"is_admin": true,
"is_banned": true,
"is_discouraged": true,
"is_followed": true,
"is_ignored": true,
"is_moderator": true,
"is_super_admin": true,
"last_activity": 0,
"location": "string",
"push_on_conversation": true,
"push_optout": [
null
],
"receive_admin_email": true,
"secondary_group_ids": [
null
],
"show_dob_date": true,
"show_dob_year": true,
"signature": "string",
"timezone": "string",
"use_tfa": true,
"user_group_id": 0,
"user_state": "string",
"user_title": "string",
"visible": true,
"warning_points": 0,
"website": "string",
"view_url": "string",
"user_id": 0,
"username": "string",
"message_count": 0,
"question_solution_count": 0,
"register_date": 0,
"trophy_points": 0,
"is_staff": true,
"reaction_score": 0,
"vote_score": 0
}
}