Me

This request returns basic information about the currently logged in user. The user is identified by the session_id header field.

Request

POST/GET https://api.cloudplan.biz/api/user/me

Reply

{
    "user_id": "....",
    "name": "..",
    "firstname": "...",
    "email": "..."
    "org_name": "..."
    "user_ids": []                             //a list of all user ids that are relevant to this user
    "status_mode": "public"/"dnd"/"incognito"  //users status preference
    "chat_visuals": {...}                      //document that contains the users view settings
    "invitations": [                           //array with invitation documents
        "cp_id": ...
        "folder_cp_id": ...
        "folder_name": ...
    ]
    "image_doc": ..                             //users profile picture
}