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 MarkdownFields
idintegerusernamestringemailstringoptionalOnly on your own user; left out of anyone else's.
emailConfirmedAtdate-time | nulloptionalWhen 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-timeupdatedAtdate-timeoptionalWhen your account last changed. Only on your own user; left out of anyone else's.
permissionGroupIdintegeroptionalThe 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.
subscriptionGroupIdintegeroptionalYour plan. Only on your own user; left out of anyone else's.
stripeSubscriptionIdstring | nulloptionalOnly on your own user; left out of anyone else's.
domainIdintegeroptionalThe domain your share links use. Only on your own user; left out of anyone else's.
avatarIdinteger | nulloptionalYour avatar's stored file; avatar is how to load it. Only on your own user; left out of anyone else's.
stripeCustomerIdstring | nulloptionalOnly on your own user; left out of anyone else's.
inviteIdinteger | nulloptionalThe invite you signed up with, when sign-up still took one. Only on your own user; left out of anyone else's.
timeZonestring | nulloptionalYour 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 | nullkeystring
badgeIdsnumber[]storageUsednumberoptionalBytes of all the user's images. Only on your own user; left out of anyone else's.
storageLimitnumberoptionalBytes the user's plan holds. Only on your own user; left out of anyone else's.
imageCountnumberHow 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.
folderCountnumberHow 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.
publicImageCountnumberoptionalYour 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.
publicFolderCountnumberoptionalYour public folders: the folderCount anyone else gets unless your profile.activityVisibility is All. Only on your own user; left out of anyone else's.
profileUserProfile
{
"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"
}
}Returned by
The endpoints whose data holds a User as it is, and where.
- post
/authSign in with an email address and a password/login data.user - post
/authThe second step of signing in with two-step sign-in: the challenge `POST /auth/login` answered, with exactly one of a code from the authenticator app, a recovery code, or a passkey's answer (ask `POST /auth/login/passkey-options` for its options first)/login /second-factor data.user - get
/usersGet a single user by ID/:userId data - patch
/usersUpdate a user by ID/:userId data - get
/usersGet the signed-in user/@me data - get
/usersGet many users by IDs/bulk data[] - post
/usersSearch for users/search data.results[]