Skip to main content
POST
WhoAmI

Authorizations

Authorization
string
header
required

Personal API key, sent as Authorization: Bearer <key>.

Headers

Connect-Protocol-Version
number
required

Define the version of the Connect protocol

Example:

1

Connect-Timeout-Ms
number

Define the timeout, in ms

Example:

1000

Body

application/json

request for information about the current authenticated user

echo
string

a message that will be returned to the user for debugging and development

Required string length: 1 - 128

Response

Success

response with information about the current authenticated user

id
string

user id of the current authenticated user

primaryEmail
string

email of the currently logged-in user

emailVerified
boolean

if an email has been verified

givenName
string | null

given name of the currently logged-in user (if any)

familyName
string | null

family name of the currently logged-in user (if any)

backendVersion
string

version of the backend, handy for debugging

impersonatorEmail
string | null

if the current user is impersonating someone, the impersonator's email is set here.

organizationId
string | null
deprecated

id of the organization the user is a member of (if any)

organizationName
string | null
deprecated

name of the organization the user is a member of (if any)

organizationRole
string | null
deprecated

role of the user in the organization (if any)

organizationIsSetupBasic
boolean | null
deprecated

whether the user's organization has been set up with the basic configuration.

organization
organization · object

info of the active organization. This replaces the separate fields above.

isSetupBasic
boolean

if the user has been setup with basic information

primaryPhoneE164
string | null

primary phone nr in e164 format

secondaryPhoneE164
string | null

secondary phone nr in e164 format

preferences
preferences · object

user's preferences

echo
string

the input echo returned to the user for debugging and development