Users

Retrieve my user

Changed on

Retrieve details of the account that you are using to access the API.

get/api/current-user/whoami

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/api/current-user/whoami
  • Auth
    API key in header Authorization

Response

active_organizationinteger nullable
active_organization_metaobject required
allow_newslettersboolean nullable

Allow sending newsletters to user

avatarstring nullable required
custom_hotkeysunknown
date_joinedstring date-time
emailstring email
first_namestring
idinteger required
initialsstring required
last_activitystring date-time nullable required
last_namestring
pauseobject nullable required
permissionsstring[] required
phonestring
social_accountsobject[] required
usernamestring required

Changes

    • breaking

      the response property became nullable for the status

    • info

      added the required property // to the response with the status

    • info

      added the required property // to the response with the status

    • info

      added the required property ///// to the response with the status

    • info

      added the required property ///// to the response with the status