Skip to main content
Look up short information about a user

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Path Parameters

user
string
required

Username of the account to look up.

Minimum string length: 1
Pattern: ^[A-Za-z0-9.@_+-]+$
Example:

"john.doe+member@example.com"

Query Parameters

photoSize
enum<string>
default:nano

Rendition of the profile picture to point at in the answer - pick the smallest one the place it is shown can live with.

Available options:
nano,
small,
medium,
big
Example:

"nano"

Response

Returns the short form of the account.

activeSessions
object[]

Sessions the account currently has open. Gathered on demand only, so it is absent unless the endpoint was asked for it.

customFields
object

Extra profile details the tenant keeps about its people, as plain name and value. Which names are expected is a matter of the tenant's settings, not of the account.

Example:
fullname
string | null

Full name of the user. It is what names the person to a reader - in notifications, in mentions, in the appearance of their signature and in exported files.

Example:

"John Doe"

hasActiveDelegation
boolean | null

Whether the person has their work handed over to somebody else right now - a delegate is named and the present moment falls inside the period set for it.

Example:

false

image
string | null

Storage hash of the user's profile picture in the rendition asked for by the caller.

Example:

"as0ia4jdqecwq0u5s1omd9krs4u244ic2n2545kyhyat9imkwyg1bgec16r94tth"

language
string | null

Language the person has chosen for the application, taken from their configuration. It is what anything addressed to them is written in.

Example:

"en"

lastActivity
string<date-time> | null

When the account was last used. Worked out on demand only, so it is absent unless the endpoint was asked for it.

mail
string | null

E-mail address of the user, where the platform delivers notifications and other messages addressed to them. It is held separately from the username in name, although the two commonly carry the same address.

Example:

"john.doe@example.com"

name
string | null

Username the account is known by, and the identifier every endpoint takes for it. Usually an e-mail address, and it stays as it is for the life of the account.

Example:

"john.doe@example.com"

phone
string | null

Phone number of the person, where a one-time code is sent. It cannot be taken away while the account signs in with the SMS factor.

Example:

"+420123456789"

recordType
enum<string>

Whether the record is a user account of the tenant or a contact identified only by an e-mail address.

Available options:
internal,
external
role
string | null

Job title or position of the user in their company, kept as free-form text. It is descriptive only and grants no permissions.

Example:

"Head of Legal"