← Back to schema index

UserMeBundle

Consolidated set for the authenticated user returned by `GET /v1/users/me`: profile, API key metadata, active subscription, two-factor authentication (2FA) state, role permissions and notification summary in a single call.

Properties

FieldTypeDescription
idstring (uuid)

Unique user identifier (UUID v4).

emailstring (email)

Email address tied to the user account: the one it signs in with and where its notifications arrive.

namestring

Name the user is presented with in the interface. Up to 100 characters.

statusstring

Account status. Only active allows API operations. suspended: Account suspended; revoked: Deleted by the user.

timezonestring

IANA timezone the dates are presented to the user in.

languagestring | null

Language the user account prefers for the interface and the notifications — es: Spanish; en: English; null: The user account has not chosen a preferred language yet.

email_verified_atstring | null

Date and time when the email was verified, in ISO 8601 UTC. null when it is still pending.

created_atstring (date-time)

Date and time when the account was created, in ISO 8601 UTC.

api_keyobject | null

The user account's live API key data, or null when it has none. It never carries the full key: for that there is POST /v1/users/me/api-key/reveal, which requires the password.

prefixstring

First 8 characters of the API key, which identify it without revealing it.

last_4string | null

Last 4 characters of the API key, used to render it masked (veriko_a1b2••••••f9c2). null for the oldest keys, which did not store it.

subscriptionobject | null

The user account's active subscription. When there is none, it carries the values of the system default plan, and it is null only when it could not be read — the case _warnings reports.

plan_slugstring

Unique, human-readable plan identifier.

plan_namestring | null

Display name of the active plan, as the plan catalog shows it. It is null when the catalog could not be read.

statusstring

Current subscription status per the billing cycle. active: Up to date; trialing: In trial; past_due: A charge is outstanding; canceled: Cancelled; paused: Paused.

current_period_endstring | null

Date and time when the current billing period ends, in ISO 8601 UTC.

cancel_atstring | null

Date and time of the scheduled cancellation, in ISO 8601 UTC. null when none is pending.

billing_intervalstring | null

Billing cadence — once: One cycle with no automatic renewal; month: Monthly; year: Yearly.

two_factorobject

Two-factor authentication (2FA) state.

enabledboolean

true when the account has two-factor authentication (2FA) active, that is, when some method is enabled (primary is not null). A passkey alone does not turn 2FA on. Derived from the methods, not stored.

methodstring | null

Deprecated: use the primary field. It carries the same value as primary: the first enabled method in ladder order, or null when none is enabled. It used to allow only sms and email; it now also allows app.

last_used_atstring | null

Date and time of the last passed 2FA challenge with any method, in ISO 8601 UTC; null when never used.

methodsarray

The four methods in ladder order (passkey, app, email, sms) with their state and availability (available). The /security front reads these.

primarystring | null

First enabled method in ladder order (the one the login challenges); null when none is enabled. Derived, not stored.

recovery_codes_remaininginteger

Unused recovery codes left (0 when no set is live).

permissionsarray

Flat, sorted list of the user account's effective permissions, in keys such as validations.records.read: the ones its roles grant on the platform and in its personal organization.

platform_accessboolean

true when the user account can enter the administration panel.

rolesarray

The roles the user account currently holds, each with its scope.

notificationsobject

Summary of the user's notification queue.

unread_countinteger

Number of notifications that are neither read nor archived.

push_enabledboolean

true when the account has at least one active push subscription.

telegram_linkedboolean

true when the account has a linked Telegram chat.

legal_acceptedboolean

true when no document is left pending: neither the Terms of Service nor the Privacy Notice. false when the acceptance of either is missing, or when the team required acceptance of a version that the account has not accepted yet. Gates the post-login consent modal, which lists what is pending in GET /users/me/legal/pending.

_warningsarray

Pieces that could not be computed while assembling the response. It only appears when one failed, and the fields that depended on it arrive at their empty value (null or an empty list).

Used in operations

  • GET /v1/users/me