Bot is allowed on
POST /api/users/get via the Authorization: <user_id> <token> header. See the Bots guide.POST /api/users/get
Looks up a single user profile by username or numeric ID.Pass either
username or id — you do not need both. If you include both, id takes precedence.Request body
string
The exact username of the user to look up. Case-sensitive.
integer
The numeric ID of the user to look up. Use
0 to retrieve the system user Clody.Response
200 OK:
string
The user’s unique username.
integer
The user’s numeric account ID.
0 for the system user Clody.string
The user’s chosen display name. May differ from
username.boolean
true if this user is in your friends list.boolean
true if you have blocked this user.boolean
true if the user currently has an active Socket.IO connection. Always true for the system user.string | null
URL of the user’s avatar image, or
null if none is set.string
The user’s current short status or quote (up to 100 characters). Empty string if not set.
string
The user’s accent color as a hex string (e.g.
"#a78bfa" or "#f0f"). Empty string if not set.string
The user’s bio or profile description (up to 300 characters). Empty string if not set.