Cloud APIs
UsersApi
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 UsersApi.userInfo({ userId: 45348281 }); 

Example Data

{
  path: "users/45348281",
  createTime: 2013-07-13T07:50:00.083Z,
  id: "45348281",
  name: "MightyPart",
  displayName: "Mighty",
  about: "football nothing to is push sudden national",
  locale: "en_us",
  premium: true,
  idVerified: true,
  socialNetworkProfiles: { visibility: "EVERYONE" },
} 

Endpoint

GET /v2/users/{userId}