Skip to content

get the user

GET
/user/details

This returns information about the current authenticated user in a user object

Authorizations

bearerAuth
TypeHTTP (bearer)

Responses

200 OK
application/json
JSON
{
"user": {
"createdAt": "2024-01-23T14:21:45.230Z",
"email": "example@yotoplay.com",
"emailVerified": true,
"fresh": false,
"identityProviders": [
"auth0"
],
"lastIp": "3.10.57.158",
"lastLoginAt": "2024-02-13T16:42:34.806Z",
"loginsCount": 47,
"name": "Desert Leopard",
"nickname": "desert_leopard_YnR0JHKnXzIqyurl",
"picture": "https://s.gravatar.com/avatar/79f74c5ff65dc489ebee52aa2f0989bd?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fth.png",
"roles": [
"user"
],
"storedAt": "2024-02-14T17:58:36.956Z",
"userId": "auth0|vBe0Ub3jqmDFcw9RdUufSi87"
}
}

Playground

Authorization

Samples