Skip to main content

getUser

Gets a user by either their username or userid. If a token is provided, then the private UserData is returned

Request Body

Information required to check if a user exists

userid string

The UserId

username string

The Username

tokenContent string

The token's content

Responses
200

A successful request

Schema OPTIONAL
success boolean

Was the operation a success

message string

The message returned by the server

result object OPTIONAL

The result of the server response

UserData object OPTIONAL

The returned UserData. Private if a valid token was provided