Skip to main content
Report the current sign-in status

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.

Query Parameters

returnToken
boolean
default:true

Puts the token into the response body as well.

Example:

true

token
string

Token to report on. Leave it out and the one in the request's cookies is used.

Pattern: ^[A-Za-z0-9._-]+$
Example:

"cir_a11b868cbba3c.WBv2Jc8lXo3pQ9rT5uYhZaEwSdFgHjKmNbVcXzLqRt0"

Response

Returns the sign-in status, and for a signed-in caller the account, everything it is allowed to do and the settings that apply to it.

authentication
object[]

Second factors still to be verified before the token can be used, each with the masked destination its code was just sent to. It is empty for an account without multi-factor authentication.

availableSealProviders
object[]

Seal providers the account can seal with, each of them configured completely. Only the identity of a provider is published, never its configuration. Empty when none is usable; when none is marked as the default, a seal has to name its provider. It is left out while the token is still locked.

availableTsaServers
object[]

Time Stamping Authority servers the user may request a timestamp from. Only the identity of a server is published, never its URL or its credentials. Empty when none is usable, in which case no server can be offered for selection.

created
string<date-time>

When the token was issued.

hasPassword
boolean

Whether the account has a password of its own. An account that signs in only through an external identity provider has none.

Example:

true

isUnlocked
boolean

Whether the token can be used. A token issued to an account with multi-factor authentication starts locked and unlocks once every factor in authentication is verified.

Example:

false

lastPasswordChange
string<date-time>

When the password was last changed. It is absent for an account whose password has never been changed, and it is what a password-expiry policy is measured from.

lastUsed
string<date-time>

When the token was last used to call the API.

logged
boolean

Whether the caller is signed in at all. Everything below it is present only when it is true.

Example:

true

rights
string[]

Everything the account is allowed to do, resolved from the groups it belongs to. It is left out while the token is still locked.

Example:
settings
object

Settings that apply to this account, merged from the tenant, its organization, its groups and the account itself. It is left out while the token is still locked.

tenant
string

Tenant the token belongs to.

Example:

"default"

token
string

Token to authenticate further calls with. It is put here only when the request asked for it.

Example:

"cir_a11b868cbba3c.WBv2Jc8lXo3pQ9rT5uYhZaEwSdFgHjKmNbVcXzLqRt0"

user
object

The signed-in account itself. It is left out while the token is still locked.

validForMilliseconds
integer

How long the token may stay idle before it stops being usable, counted from when it was last used.

Example:

2592000000