User management

Get information about current user

Route

GET /api/v1/user

Returns

JSON object containing general information about the current user and the organizations they belong to.

NameTypeDescription
idstringUnique identifier of the current user.
avatar_urlstringURL which can be used to retrieve a visual representation of the user’s profile.
disable_document_storagebooleanFlag that description if this user may only use the offline functionality of Vizzlo and will therefore not be able to use cloud stored documents as described in Document Management .
emailstringUser’s email address
is_premiumbooleanDoes this user have access to Vizzlo Premium functionality. This might be because the user has an active subscription a Vizzlo Professional plan or the user is member of an organization.
managedbooleanIs this an account managed by the an Enterprise organization, or by the individual.
namestringFull name of this user.
orgsarray of objectsList of all organisations this user is member of. (see below)
usernamestringLegacy: Username («slug») of the current user.

For each of the listed organizations in orgs, these properties are provided:

Example
{
  "id": "abc123xyz4567",
  "avatar_url": "https://www.gravatar.com/avatar/3b3ad500165706e5a60015b1d5d10769?d=retro",
  "disable_document_storage": false,
  "email": "noreply@vizzlo.com",
  "is_premium": true,
  "managed": false,
  "name": "Rob Lillack",
  "orgs": [
    {
      "id": "xxx111xxx111",
      "slug": "acme",
      "name": "ACME Inc.",
      "urls": {
        "endpoint": "https://vizzlo.com/api/v1/orgs/acme",
        "view": "https://vizzlo.com/orgs/acme"
      },
      "role": "member"
    },
    {
      "id": "yyy222yyy222",
      "slug": "vizzlo",
      "name": "Vizzlo GmbH",
      "urls": {
        "endpoint": "https://vizzlo.com/api/v1/orgs/vizzlo",
        "view": "https://vizzlo.com/orgs/vizzlo"
      },
      "role": "admin"
    }
  ],
  "username": "roblillack"
}