Users

get user data with user access token

Auth: User JWT

get user data with user access token

get/v1/users/me

Request

  • Base URL: https://api.chat.ethora.com
  • URL: https://api.chat.ethora.com/v1/users/me
  • Auth: HTTP bearer

Response

{
  success: boolean,
  user: {
    defaultWallet: {
      walletAddress: string
    },
    _id: string,
    firstName: string,
    lastName: string,
    email: string,
    username: string,
    tags: string[],
    profileImage: string,
    emails: [
      {
        loginType: string,
        email: string,
        verified: boolean,
        _id: string
      }
    ],
    appId: string,
    xmppPassword: string,
    roles: string[],
    isProfileOpen: boolean,
    isAssetsOpen: boolean,
    isAgreeWithTerms: boolean,
    homeScreen: string,
    registrationChannelType: string,
    createdAt: string,
    updatedAt: string
  },
  token: string,
  refreshToken: string
}
successboolean required
tokenstring required
refreshTokenstring required
wsTokenstring nullable
isAllowedNewAppCreateboolean nullable

Example response

{
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.