Skip to content
Dashboard

developers / Models

User

Someone with an account: their username, avatar, badges, counts and profile. The rest is only on your own user: your email and when you confirmed it, your plan, role, storage and billing.

This page as Markdown

Fields

  • idinteger
  • usernamestring
  • emailstringoptional

    Only on your own user; left out of anyone else's.

  • emailConfirmedAtdate-time | nulloptional

    When you confirmed your email address; null until you have. Only on your own user; left out of anyone else's. Apps get it only with the email scope, as the address.

  • createdAtdate-time
  • updatedAtdate-timeoptional

    When your account last changed. Only on your own user; left out of anyone else's.

  • permissionGroupIdintegeroptional

    The permission group you're in. It means nothing any more: staff roles aren't groups, and the field goes in a later release. Only on your own user; left out of anyone else's.

  • subscriptionGroupIdintegeroptional

    Your plan. Only on your own user; left out of anyone else's.

  • stripeSubscriptionIdstring | nulloptional

    Only on your own user; left out of anyone else's.

  • domainIdintegeroptional

    The domain your share links use. Only on your own user; left out of anyone else's.

  • avatarIdinteger | nulloptional

    Your avatar's stored file; avatar is how to load it. Only on your own user; left out of anyone else's.

  • stripeCustomerIdstring | nulloptional

    Only on your own user; left out of anyone else's.

  • inviteIdinteger | nulloptional

    The invite you signed up with, when sign-up still took one. Only on your own user; left out of anyone else's.

  • timeZonestring | nulloptional

    Your time zone, as your browser reported it: the calendar your achievements count days by. Only on your own user; left out of anyone else's. Apps never get it.

  • avatarobject | null
  • badgeIdsnumber[]
  • storageUsednumberoptional

    Bytes of all the user's images. Only on your own user; left out of anyone else's.

  • storageLimitnumberoptional

    Bytes the user's plan holds. Only on your own user; left out of anyone else's.

  • imageCountnumber

    How many images the user has: all of them on your own user, and to anyone else when the user's profile.activityVisibility is All; otherwise only their public ones that show who uploaded them.

  • folderCountnumber

    How many folders the user has: all of them on your own user, and to anyone else when the user's profile.activityVisibility is All; otherwise only their public ones.

  • publicImageCountnumberoptional

    Your public images that show who uploaded them: the imageCount anyone else gets unless your profile.activityVisibility is All. Only on your own user; left out of anyone else's.

  • publicFolderCountnumberoptional

    Your public folders: the folderCount anyone else gets unless your profile.activityVisibility is All. Only on your own user; left out of anyone else's.

Example
{
  "id": 1,
  "username": "nova",
  "email": "nova@example.com",
  "emailConfirmedAt": "2026-11-10T18:24:00.000Z",
  "createdAt": "2026-11-10T18:24:00.000Z",
  "updatedAt": "2026-11-10T18:24:00.000Z",
  "permissionGroupId": 1,
  "subscriptionGroupId": 1,
  "stripeSubscriptionId": "string",
  "domainId": 1,
  "avatarId": 1,
  "stripeCustomerId": "string",
  "inviteId": 1,
  "timeZone": "string",
  "avatar": {
    "key": "images/a1b2c3d4e5f6.png"
  },
  "badgeIds": [
    1
  ],
  "storageUsed": 2457600,
  "storageLimit": 1073741824,
  "imageCount": 1,
  "folderCount": 0,
  "publicImageCount": 0,
  "publicFolderCount": 0,
  "profile": {
    "bio": "Screenshots from ranked nights",
    "hideProfile": false,
    "activityVisibility": "All"
  }
}