Get a single user by username
GET/u/:username.json
Get a single user by username
Request
Path Parameters
username stringrequired
Header Parameters
Api-Key stringrequired
Api-Username stringrequired
Responses
- 200
user response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
- Array [
- ]
user_badges undefined[]required
user objectrequired
id integerrequired
username stringrequired
name stringrequired
avatar_template stringrequired
last_posted_at stringnullrequired
last_seen_at stringnullrequired
created_at stringrequired
ignored booleanrequired
muted booleanrequired
can_ignore_user booleanrequired
can_mute_user booleanrequired
can_send_private_messages booleanrequired
can_send_private_message_to_user booleanrequired
trust_level integerrequired
moderator booleanrequired
admin booleanrequired
title stringnullrequired
badge_count integerrequired
second_factor_backup_enabled booleanrequired
user_fields object
1 stringnullrequired
2 stringnullrequired
custom_fields objectrequired
first_name stringnullrequired
time_read integerrequired
recent_time_read integerrequired
primary_group_id stringnullrequired
primary_group_name stringnullrequired
flair_group_id stringnullrequired
flair_name stringnullrequired
flair_url stringnullrequired
flair_bg_color stringnullrequired
flair_color stringnullrequired
featured_topic stringnullrequired
staged booleanrequired
can_edit booleanrequired
can_edit_username booleanrequired
can_edit_email booleanrequired
can_edit_name booleanrequired
uploaded_avatar_id stringnullrequired
has_title_badges booleanrequired
pending_count integerrequired
pending_posts_count integerrequired
profile_view_count integerrequired
second_factor_enabled booleanrequired
can_upload_profile_header booleanrequired
can_upload_user_card_background booleanrequired
post_count integerrequired
can_be_deleted booleanrequired
can_delete_all_posts booleanrequired
locale stringnullrequired
muted_category_ids undefined[]required
regular_category_ids undefined[]required
watched_tags undefined[]required
watching_first_post_tags undefined[]required
tracked_tags undefined[]required
muted_tags undefined[]required
tracked_category_ids undefined[]required
watched_category_ids undefined[]required
watched_first_post_category_ids undefined[]required
system_avatar_upload_id stringnullrequired
system_avatar_template stringrequired
muted_usernames undefined[]required
ignored_usernames undefined[]required
allowed_pm_usernames undefined[]required
mailing_list_posts_per_day integerrequired
can_change_bio booleanrequired
can_change_location booleanrequired
can_change_website booleanrequired
can_change_tracking_preferences booleanrequired
user_api_keys stringnullrequired
user_passkeys arrayrequired
sidebar_tags arrayrequired
sidebar_category_ids arrayrequired
display_sidebar_tags booleanrequired
can_pick_theme_with_custom_homepage booleanrequired
user_auth_tokens object[]required
id integerrequired
client_ip stringrequired
location stringrequired
browser stringrequired
device stringrequired
os stringrequired
icon stringrequired
created_at stringrequired
seen_at stringrequired
is_active booleanrequired
user_notification_schedule objectrequired
enabled booleanrequired
day_0_start_time integerrequired
day_0_end_time integerrequired
day_1_start_time integerrequired
day_1_end_time integerrequired
day_2_start_time integerrequired
day_2_end_time integerrequired
day_3_start_time integerrequired
day_3_end_time integerrequired
day_4_start_time integerrequired
day_4_end_time integerrequired
day_5_start_time integerrequired
day_5_end_time integerrequired
day_6_start_time integerrequired
day_6_end_time integerrequired
use_logo_small_as_avatar booleanrequired
featured_user_badge_ids undefined[]required
invited_by stringnullrequired
groups object[]required
id integerrequired
automatic booleanrequired
name stringrequired
display_name stringrequired
user_count integerrequired
mentionable_level integerrequired
messageable_level integerrequired
visibility_level integerrequired
primary_group booleanrequired
title stringnullrequired
grant_trust_level stringnullrequired
incoming_email stringnullrequired
has_messages booleanrequired
flair_url stringnullrequired
flair_bg_color stringnullrequired
flair_color stringnullrequired
bio_raw stringnullrequired
bio_cooked stringnullrequired
bio_excerpt stringnullrequired
public_admission booleanrequired
public_exit booleanrequired
allow_membership_requests booleanrequired
full_name stringnullrequired
default_notification_level integerrequired
membership_request_template stringnullrequired
members_visibility_level integerrequired
can_see_members booleanrequired
can_admin_group booleanrequired
publish_read_state booleanrequired
group_users object[]required
group_id integerrequired
user_id integerrequired
notification_level integerrequired
owner booleanrequired
user_option objectrequired
user_id integerrequired
mailing_list_mode booleanrequired
mailing_list_mode_frequency integerrequired
email_digests booleanrequired
email_level integerrequired
email_messages_level integerrequired
external_links_in_new_tab booleanrequired
bookmark_auto_delete_preference integerrequired
color_scheme_id stringnullrequired
dark_scheme_id stringnullrequired
dynamic_favicon booleanrequired
enable_quoting booleanrequired
enable_defer booleanrequired
digest_after_minutes integerrequired
automatically_unpin_topics booleanrequired
auto_track_topics_after_msecs integerrequired
notification_level_when_replying integerrequired
new_topic_duration_minutes integerrequired
email_previous_replies integerrequired
email_in_reply_to booleanrequired
like_notification_frequency integerrequired
include_tl0_in_digests booleanrequired
theme_ids undefined[]required
theme_key_seq integerrequired
allow_private_messages booleanrequired
enable_allowed_pm_users booleanrequired
homepage_id stringnullrequired
hide_profile_and_presence booleanrequired
text_size stringrequired
text_size_seq integerrequired
title_count_mode stringrequired
timezone stringnullrequired
skip_new_user_tips booleanrequired
default_calendar stringrequired
oldest_search_log_date stringnullrequired
sidebar_link_to_filtered_list booleanrequired
sidebar_show_count_of_new_items booleanrequired
watched_precedence_over_muted booleannullrequired
seen_popups arraynullrequired
topics_unread_when_closed booleanrequired
{
"user_badges": [
null
],
"user": {
"id": 0,
"username": "string",
"name": "string",
"avatar_template": "string",
"created_at": "string",
"ignored": true,
"muted": true,
"can_ignore_user": true,
"can_mute_user": true,
"can_send_private_messages": true,
"can_send_private_message_to_user": true,
"trust_level": 0,
"moderator": true,
"admin": true,
"badge_count": 0,
"second_factor_backup_enabled": true,
"user_fields": {},
"custom_fields": {},
"time_read": 0,
"recent_time_read": 0,
"staged": true,
"can_edit": true,
"can_edit_username": true,
"can_edit_email": true,
"can_edit_name": true,
"has_title_badges": true,
"pending_count": 0,
"pending_posts_count": 0,
"profile_view_count": 0,
"second_factor_enabled": true,
"can_upload_profile_header": true,
"can_upload_user_card_background": true,
"post_count": 0,
"can_be_deleted": true,
"can_delete_all_posts": true,
"muted_category_ids": [
null
],
"regular_category_ids": [
null
],
"watched_tags": [
null
],
"watching_first_post_tags": [
null
],
"tracked_tags": [
null
],
"muted_tags": [
null
],
"tracked_category_ids": [
null
],
"watched_category_ids": [
null
],
"watched_first_post_category_ids": [
null
],
"system_avatar_template": "string",
"muted_usernames": [
null
],
"ignored_usernames": [
null
],
"allowed_pm_usernames": [
null
],
"mailing_list_posts_per_day": 0,
"can_change_bio": true,
"can_change_location": true,
"can_change_website": true,
"can_change_tracking_preferences": true,
"user_passkeys": [
null
],
"sidebar_tags": [
null
],
"sidebar_category_ids": [
null
],
"display_sidebar_tags": true,
"can_pick_theme_with_custom_homepage": true,
"user_auth_tokens": [
{
"id": 0,
"client_ip": "string",
"location": "string",
"browser": "string",
"device": "string",
"os": "string",
"icon": "string",
"created_at": "string",
"seen_at": "string",
"is_active": true
}
],
"user_notification_schedule": {
"enabled": true,
"day_0_start_time": 0,
"day_0_end_time": 0,
"day_1_start_time": 0,
"day_1_end_time": 0,
"day_2_start_time": 0,
"day_2_end_time": 0,
"day_3_start_time": 0,
"day_3_end_time": 0,
"day_4_start_time": 0,
"day_4_end_time": 0,
"day_5_start_time": 0,
"day_5_end_time": 0,
"day_6_start_time": 0,
"day_6_end_time": 0
},
"use_logo_small_as_avatar": true,
"featured_user_badge_ids": [
null
],
"groups": [
{
"id": 0,
"automatic": true,
"name": "string",
"display_name": "string",
"user_count": 0,
"mentionable_level": 0,
"messageable_level": 0,
"visibility_level": 0,
"primary_group": true,
"has_messages": true,
"public_admission": true,
"public_exit": true,
"allow_membership_requests": true,
"default_notification_level": 0,
"members_visibility_level": 0,
"can_see_members": true,
"can_admin_group": true,
"publish_read_state": true
}
],
"group_users": [
{
"group_id": 0,
"user_id": 0,
"notification_level": 0,
"owner": true
}
],
"user_option": {
"user_id": 0,
"mailing_list_mode": true,
"mailing_list_mode_frequency": 0,
"email_digests": true,
"email_level": 0,
"email_messages_level": 0,
"external_links_in_new_tab": true,
"bookmark_auto_delete_preference": 0,
"dynamic_favicon": true,
"enable_quoting": true,
"enable_defer": true,
"digest_after_minutes": 0,
"automatically_unpin_topics": true,
"auto_track_topics_after_msecs": 0,
"notification_level_when_replying": 0,
"new_topic_duration_minutes": 0,
"email_previous_replies": 0,
"email_in_reply_to": true,
"like_notification_frequency": 0,
"include_tl0_in_digests": true,
"theme_ids": [
null
],
"theme_key_seq": 0,
"allow_private_messages": true,
"enable_allowed_pm_users": true,
"hide_profile_and_presence": true,
"text_size": "string",
"text_size_seq": 0,
"title_count_mode": "string",
"skip_new_user_tips": true,
"default_calendar": "string",
"sidebar_link_to_filtered_list": true,
"sidebar_show_count_of_new_items": true,
"topics_unread_when_closed": true
}
}
}
Loading...