Classic APIs
ClassicUsersApi
userInfo

userInfo

Gets information about a user from their id.

Parameters

NameTypeDescription
userIdUserIdThe id of the user to get detailed info about.

Example

const { data: userInfo } = await ClassicUsersApi.userInfo({ userId: 45348281 }); 

Example Data

{
  description: "Lorem ipsum dolor sit amet consectetur adipiscing elit.",
  created: 2013-07-13T07:50:00.083Z,
  isBanned: false,
  externalAppDisplayName: null,
  hasVerifiedBadge: false,
  id: 45348281,
  name: "MightyPart",
  displayName: "MightyPart",
} 

Endpoint

GET /v1/users/{userId}