Skip to content

Lists detailed information for the current user​

GET
/api/users/current/details

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

Type
API Key (header: X-CSRF-Token)

Responses​

Success

application/json
JSON
{
  
"id": 123,
  
"foodsaver": true,
  
"isVerified": true,
  
"regionId": 0,
  
"isSleeping": true,
  
"regionName": "string",
  
"aboutMePublic": "string",
  
"mailboxId": 5,
  
"hasCalendarToken": true,
  
"firstname": "Anna",
  
"lastname": "Muster",
  
"gender": 0,
  
"photo": "string",
  
"lastPassDate": "string",
  
"lastPassUntilValid": "string",
  
"lastPassUntilValidInDays": 0,
  
"stats": {
  
  
"weight": 0,
  
  
"count": 0
  
},
  
"coordinates": {
  
  
"lat": 52.5,
  
  
"lon": 13.4
  
},
  
"address": "string",
  
"city": "string",
  
"postcode": "string",
  
"email": "string",
  
"landline": "string",
  
"mobile": "string",
  
"birthday": "string",
  
"aboutMeIntern": "string",
  
"role": 0,
  
"regions": [
  
  
{
  
  
  
"id": 1,
  
  
  
"name": "Sinsheim",
  
  
  
"classification": 0,
  
  
  
"isResponsible": false
  
  
}
  
],
  
"groups": [
  
  
{
  
  
  
"id": 1,
  
  
  
"name": "Öffentlichkeitsarbeit - Startseite",
  
  
  
"isResponsible": false
  
  
}
  
],
  
"position": "string"
}

Playground​

Authorization

Samples​