Server API
getUserInfo
Learn how to use the getUserInfo JSON-RPC method.
POST
Understanding getUserInfo
-
getUserInfo
retrieves a JSON object containing various data points relating to a registered user (a user that has already undergone social login), such as their name, UUID, token, email, and so on. The population of specific data points (such asfacebookId
,googleId
, etc.) will be dependent upon their primary associated social account.` It takes:-
UUID
- string. -
Token
- string.
-
Query example
JavaScript
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Body
application/json
Request parameters for retrieving user information.
The body is of type object
.
Response
200 - application/json
Successful response with user information.
The response is of type object
.